Skip to content

Commit

Permalink
test(e2e): temporarily disable testing in Firefox (#5115)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Aug 21, 2023
1 parent c33cfd2 commit 3413770
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 24 deletions.
9 changes: 1 addition & 8 deletions clients/client-cognito-identity/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Set up following binaries before running the test:
// CHROME_BIN: path to Chromium browser
// FIREFOX_BIN: path to Firefox browser

const webpack = require("webpack");

module.exports = function (config) {
Expand Down Expand Up @@ -47,7 +45,6 @@ module.exports = function (config) {
plugins: [
"@aws-sdk/karma-credential-loader",
"karma-chrome-launcher",
"karma-firefox-launcher",
"karma-mocha",
"karma-chai",
"karma-webpack",
Expand All @@ -60,16 +57,12 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_WARN,
autoWatch: false,
browsers: ["ChromeHeadlessNoSandbox", "FirefoxHeadless"],
browsers: ["ChromeHeadlessNoSandbox"],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: "ChromeHeadless",
flags: ["--no-sandbox"],
},
FirefoxHeadless: {
base: "Firefox",
flags: ["-headless"],
},
},
singleRun: true,
concurrency: Infinity,
Expand Down
8 changes: 1 addition & 7 deletions clients/client-s3/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Set up following binaries before running the test:
// CHROME_BIN: path to Chromium browser
// FIREFOX_BIN: path to Firefox browser
const webpack = require("webpack");

module.exports = function (config) {
Expand Down Expand Up @@ -49,7 +48,6 @@ module.exports = function (config) {
plugins: [
"@aws-sdk/karma-credential-loader",
"karma-chrome-launcher",
"karma-firefox-launcher",
"karma-mocha",
"karma-chai",
"karma-webpack",
Expand All @@ -62,16 +60,12 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_WARN,
autoWatch: false,
browsers: ["ChromeHeadlessNoSandbox", "FirefoxHeadless"],
browsers: ["ChromeHeadlessNoSandbox"],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: "ChromeHeadless",
flags: ["--no-sandbox"],
},
FirefoxHeadless: {
base: "Firefox",
flags: ["-headless"],
},
},
singleRun: true,
concurrency: Infinity,
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "2.2.0",
"karma-env-preprocessor": "0.1.1",
"karma-firefox-launcher": "2.1.2",
"karma-jasmine": "5.1.0",
"karma-mocha": "2.0.1",
"karma-sourcemap-loader": "0.3.8",
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8429,14 +8429,6 @@ karma-env-preprocessor@0.1.1:
resolved "https://registry.yarnpkg.com/karma-env-preprocessor/-/karma-env-preprocessor-0.1.1.tgz#bbe8c87d59c00edb76070bd3c31b4b39d5dc7e15"
integrity sha512-3FAuA0B1lS4DXNyOpD1Y+BjteVmnfX0WXUpsZ19aYykTk/GPz0kqnjzdApDiEe4sapreVeVSme2qTALnbHJb/A==

karma-firefox-launcher@2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/karma-firefox-launcher/-/karma-firefox-launcher-2.1.2.tgz#9a38cc783c579a50f3ed2a82b7386186385cfc2d"
integrity sha512-VV9xDQU1QIboTrjtGVD4NCfzIH7n01ZXqy/qpBhnOeGVOkG5JYPEm8kuSd7psHE6WouZaQ9Ool92g8LFweSNMA==
dependencies:
is-wsl "^2.2.0"
which "^2.0.1"

karma-jasmine@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/karma-jasmine/-/karma-jasmine-5.1.0.tgz#3af4558a6502fa16856a0f346ec2193d4b884b2f"
Expand Down

0 comments on commit 3413770

Please sign in to comment.