From 55800bb2158c2e5345231a2234ff1a92b0f2a65d Mon Sep 17 00:00:00 2001 From: Ravi Sawlani Date: Tue, 26 Sep 2023 12:08:33 +0530 Subject: [PATCH 1/2] remove color param from mocha cli runner tests (#3919) --- test/src/cli/testCliRunnerMocha.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/src/cli/testCliRunnerMocha.js b/test/src/cli/testCliRunnerMocha.js index 0f0244c2fd..346781f524 100644 --- a/test/src/cli/testCliRunnerMocha.js +++ b/test/src/cli/testCliRunnerMocha.js @@ -1,8 +1,6 @@ const common = require('../../common.js'); const mockery = require('mockery'); const assert = require('assert'); -const CI_Info = require('ci-info'); -const isCi = CI_Info.isCI; const path = require('path'); describe('test CLI Runner Mocha', function() { @@ -59,10 +57,6 @@ describe('test CLI Runner Mocha', function() { const testFiles = []; const defaultOptions = {timeout: 20000, reporterOptions: {}}; - if (isCi) { - defaultOptions.color = false; - } - mockery.registerMock('./withmocha.json', { src_folders: ['tests'], output_folder: false, @@ -136,9 +130,6 @@ describe('test CLI Runner Mocha', function() { it('testRunWithMochaPerEnvironment', function() { const testFiles = []; const defaultOptions = {timeout: 20000, reporterOptions: {}}; - if (isCi) { - defaultOptions.color = false; - } mockery.registerMock('./withmocha.json', { src_folders: ['tests'], @@ -179,10 +170,6 @@ describe('test CLI Runner Mocha', function() { reporterOptions: {} }; - if (isCi) { - defaultOptions.color = false; - } - mockery.registerMock('./withmocha.json', { src_folders: ['tests'], output_folder: false, @@ -226,9 +213,6 @@ describe('test CLI Runner Mocha', function() { reporter: 'mochawesome' }; - if (isCi) { - mochaOptions.color = false; - } mockery.registerMock('mochawesome', {}); From 917fc7dc720f838e772889351ea723501f1391be Mon Sep 17 00:00:00 2001 From: David Burns Date: Tue, 26 Sep 2023 10:30:56 +0100 Subject: [PATCH 2/2] [chore] bump to selenium 4.13 (#3920) --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index a11201d58d..431fb2f93f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "open": "8.4.0", "ora": "5.4.1", "piscina": "^3.2.0", - "selenium-webdriver": "~4.11.0", + "selenium-webdriver": "~4.13.0", "semver": "7.5.2", "stacktrace-parser": "0.1.10", "strip-ansi": "6.0.1", @@ -7810,9 +7810,9 @@ "dev": true }, "node_modules/selenium-webdriver": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.11.1.tgz", - "integrity": "sha512-bvrnr3UZlLScErOmn8gV6cqc+1PYDHn0575CxUR2U14fMWt7OKxSy0lAThhZq4sq4d1HqP8ebz11oiHSlAQ2WA==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.13.0.tgz", + "integrity": "sha512-8JS0h5E0Sq7gNfbGg8LVaQ+Eqek97tvOONn3Jmy+NiWfb12WYpftz4VTC4D2JT4wakdG6VUzGKpA8cFGg0IjkA==", "dependencies": { "jszip": "^3.10.1", "tmp": "^0.2.1", @@ -15118,9 +15118,9 @@ "dev": true }, "selenium-webdriver": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.11.1.tgz", - "integrity": "sha512-bvrnr3UZlLScErOmn8gV6cqc+1PYDHn0575CxUR2U14fMWt7OKxSy0lAThhZq4sq4d1HqP8ebz11oiHSlAQ2WA==", + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.13.0.tgz", + "integrity": "sha512-8JS0h5E0Sq7gNfbGg8LVaQ+Eqek97tvOONn3Jmy+NiWfb12WYpftz4VTC4D2JT4wakdG6VUzGKpA8cFGg0IjkA==", "requires": { "jszip": "^3.10.1", "tmp": "^0.2.1", diff --git a/package.json b/package.json index fafcb95d64..e621a124a3 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "open": "8.4.0", "ora": "5.4.1", "piscina": "^3.2.0", - "selenium-webdriver": "~4.11.0", + "selenium-webdriver": "~4.13.0", "semver": "7.5.2", "stacktrace-parser": "0.1.10", "strip-ansi": "6.0.1",