Actions
action #152683
closedcoordination #153280: [epic] Future automation of Agama
Add check for existence of imported files in Playwright repo CI/CD
Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2023-12-15
Due date:
% Done:
0%
Estimated time:
Description
In Playwright repo we have currently set the basis for CI/CD poo#134441 after merging: https://github.com/jknphy/e2e-agama-playwright/pull/30
Currently, the only check available is the typescript formatting, according to file tsfmt.json (complying with the default formatting by vscode). We should enhance the checks in the CI, by adding a step that will get the imported files (lib/actor/page etc) ignoring the "import { type Page } from '@playwright/test';" . It is recommended to create a script directory and place a script inside that will be called by the CI steps in .github/workflows/ci.yaml, instead of polluting the ci.yaml.
Acceptance criteria
- The CI should check if the imported files exist in the repo.
- Create test actions to verify expected failure and success of the CI.
Actions