Closed
Description
Noticed some strange behaviour that the test passed when executed locally, but does not work on GitHub action execution.
Things have already tried:
- Changed the VINScanner test to serial (instead of parallel) to avoid interacting with the scan mode buttons at the same time. This helps the execution to pass without any chance to fail on the local execution, but still seem to have problem on github action.
- Added a waitFor function to wait for the scan mode buttons container to show up before continue, but currently the container cannot be found while being executed on github action.
A possible resolution to try:
- Aggregated all the scan mode button validation into 1 test instead of 3 separate ones
- Try research on similar issue happens toward the visibility of elements when executed headlessly on github action