test: remove firefox-cdp test suite (#13424)

This commit is contained in:
Alex Rudenko
2024-12-19 13:55:51 +01:00
committed by GitHub
parent 3eb03de5b6
commit 4cd765aad4
7 changed files with 13 additions and 1633 deletions
-6
View File
@@ -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
-1
View File
@@ -25,7 +25,6 @@ on:
- chrome-bidi
- firefox-headful
- firefox-headless
- firefox-cdp
os:
description: On which OS to run?
required: true
-1
View File
@@ -14,7 +14,6 @@
"chrome-headless-shell",
"firefox-headless",
"firefox-headful",
"firefox-cdp",
"chrome-bidi"
],
"default": "chrome-headless"
-3
View File
@@ -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"
},
File diff suppressed because it is too large Load Diff
-4
View File
@@ -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"]
+10
View File
@@ -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];