Commit ccee173
Initial Commit - Playwright test
Updated license test to ensure demo license is used. Added yml file for github action
Change playwright config back to headless and added test setup in the README.
Configure playwright test to be executed on github
Adding scan mode button selection UI Test to MRZ Scanner
Use fake media stream for github action test
Do not fail the test if the license warning dialog does not display, just print an error log
Commented out manually mock the camera script
remove the waitfor visible for the license warning dialog
Removing grantCameraPermission scrpit, added extra timeout to wait for dom content to be loaded
Added debug log to see the status of indexedDB during github action firefox execution
Try out not using headless for firefox
Update userAgent string to use firefox v130
Added extra long timeout after clicked on start button to ensure firefox loads all relevant objects
Removing extra wait, removing the grantPermission script as it only produced warning log. Added a new firefoxuserpref value "datareporting.policy.firstRunURL": ""
use clean install for github action and added root location for github firefox issue. Changed chrome project to use real camera instead of fake.
Added container image and remove master branch from triggering the github action
attempt to fix the Error: Failed to open indexedDB: Timeout. issue by granting permission to indexedDB for firefox.
revert the changes for granting chrome indexedDB permission. Update firefox to headless
Adding fake video file as fake video capture input and use it in chrome.
Cleaned up and use a 2D QR Code video as fake stream.
Added manual trigger for playwright github action1 parent 6a6a93d commit ccee173
File tree
11 files changed
+1287
-0
lines changed- .github/workflows
- tests
- e2e
- pages
- unittest
- video-src
11 files changed
+1287
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
0 commit comments