Skip to content

[Playwright] - VINScanner test - Unable to get the scanner buttons container (locator('.scan-mode-container')) to load on github action #16

Closed
@eugene-dynamsoft

Description

@eugene-dynamsoft

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:

  1. Aggregated all the scan mode button validation into 1 test instead of 3 separate ones
  2. Try research on similar issue happens toward the visibility of elements when executed headlessly on github action

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions