mirror of
https://github.com/hanzoai/puppeteer.git
synced 2026-09-24 17:02:14 +00:00
test: remove firefox-cdp test suite (#13424)
This commit is contained in:
@@ -239,7 +239,6 @@ jobs:
|
||||
linux-only:
|
||||
- ${{ github.event_name == 'pull_request' && !contains(github.head_ref, 'release-please') && !contains(github.event.pull_request.labels.*.name, 'full-ci') }}
|
||||
suite:
|
||||
- firefox-cdp
|
||||
- firefox-headful
|
||||
- firefox-headless
|
||||
os:
|
||||
@@ -257,11 +256,6 @@ jobs:
|
||||
- linux-only: true
|
||||
os: macos-latest
|
||||
|
||||
- os: macos-latest
|
||||
suite: firefox-cdp
|
||||
- os: windows-latest
|
||||
suite: firefox-cdp
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
@@ -25,7 +25,6 @@ on:
|
||||
- chrome-bidi
|
||||
- firefox-headful
|
||||
- firefox-headless
|
||||
- firefox-cdp
|
||||
os:
|
||||
description: On which OS to run?
|
||||
required: true
|
||||
|
||||
Vendored
-1
@@ -14,7 +14,6 @@
|
||||
"chrome-headless-shell",
|
||||
"firefox-headless",
|
||||
"firefox-headful",
|
||||
"firefox-cdp",
|
||||
"chrome-bidi"
|
||||
],
|
||||
"default": "chrome-headless"
|
||||
|
||||
@@ -96,9 +96,6 @@
|
||||
"test:chrome:shell": {
|
||||
"command": "npm test -- --test-suite chrome-headless-shell"
|
||||
},
|
||||
"test:firefox:cdp": {
|
||||
"command": "npm test -- --test-suite firefox-cdp"
|
||||
},
|
||||
"test:firefox:headful": {
|
||||
"command": "npm test -- --test-suite firefox-headful"
|
||||
},
|
||||
|
||||
+3
-1618
File diff suppressed because it is too large
Load Diff
@@ -20,10 +20,6 @@
|
||||
"id": "firefox-headful",
|
||||
"parameters": ["firefox", "headful", "webDriverBiDi"]
|
||||
},
|
||||
{
|
||||
"id": "firefox-cdp",
|
||||
"parameters": ["firefox", "headless", "cdp"]
|
||||
},
|
||||
{
|
||||
"id": "chrome-bidi",
|
||||
"parameters": ["chrome", "headless", "webDriverBiDi"]
|
||||
|
||||
@@ -81,6 +81,16 @@ for (let i = testExpectations.length - 1; i >= 0; i--) {
|
||||
const expectations = new Set(expectation.expectations);
|
||||
const platforms = new Set(expectation.platforms);
|
||||
|
||||
if (params.has('cdp') && params.has('firefox')) {
|
||||
console.log(
|
||||
'removing',
|
||||
expectation,
|
||||
'because firefox-cdp is no longer tested',
|
||||
);
|
||||
toBeRemoved.add(expectation);
|
||||
continue;
|
||||
}
|
||||
|
||||
let foundMatch = false;
|
||||
for (let j = i - 1; j >= 0; j--) {
|
||||
const candidate = testExpectations[j];
|
||||
|
||||
Reference in New Issue
Block a user