chore: add headful support for Firefox (#9004)

* chore: add headful support for Firefox

* chore: update test expectation data for Firefox headful tests
This commit is contained in:
Henrik Skupin 2022-09-23 07:23:36 +02:00 committed by GitHub
parent c21c3ba45a
commit 5a1b8d2d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 176 additions and 152 deletions

View File

@ -193,6 +193,16 @@ jobs:
xvfb: true
node: 18
suite: firefox-headless
- name: firefox-headful
machine: ubuntu-latest
xvfb: true
node: 16
suite: firefox-headful
- name: firefox-headful
machine: ubuntu-latest
xvfb: true
node: 18
suite: firefox-headful
- name: firefox-bidi
machine: ubuntu-latest
xvfb: true

View File

@ -30,7 +30,9 @@
"test": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node utils/mochaRunner/lib/main.js",
"test:types": "tsd",
"test:install": "scripts/test-install.sh",
"test:firefox": "npm run test -- --test-suite firefox-headless",
"test:firefox": "run-s test:firefox:*",
"test:firefox:headless": "npm run test -- --test-suite firefox-headless",
"test:firefox:headful": "npm run test -- --test-suite firefox-headful",
"test:chrome": "run-s test:chrome:*",
"test:chrome:headless": "npm run test -- --test-suite chrome-headless",
"test:chrome:headless-chrome": "npm run test -- --test-suite chrome-new-headless",

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,12 @@
"parameters": ["firefox", "headless"],
"expectedLineCoverage": 80
},
{
"id": "firefox-headful",
"platforms": ["linux"],
"parameters": ["firefox", "headful"],
"expectedLineCoverage": 80
},
{
"id": "firefox-bidi",
"platforms": ["linux"],