From 8ba2ec0eb99efe9b93700687f7f298a661eb6398 Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Fri, 1 Nov 2024 18:58:21 +0530 Subject: [PATCH 1/9] chore: added parallelism --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7cb45a7..94b2a8b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,7 @@ version: 2.1 defaults: &defaults docker: - image: cimg/ruby:2.7.5-browsers + parallelism: 2 # selenium-webdriver with --disable-dev-shm-usage is maxing out resources working_directory: ~/axe-core-gems orbs: From d33b43c4bdf4184e4efddaab8ad6ab2f81ff53ae Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Fri, 1 Nov 2024 19:09:32 +0530 Subject: [PATCH 2/9] chore: parallel to 4 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 94b2a8b..4cf712d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 defaults: &defaults docker: - image: cimg/ruby:2.7.5-browsers - parallelism: 2 # selenium-webdriver with --disable-dev-shm-usage is maxing out resources + parallelism: 4 # selenium-webdriver with --disable-dev-shm-usage is maxing out resources working_directory: ~/axe-core-gems orbs: From c4a418ac36854d98b8c293265e029468e646e7db Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Fri, 1 Nov 2024 20:07:00 +0530 Subject: [PATCH 3/9] chore: adding disable gpu option --- packages/axe-core-api/e2e/selenium/spec/api_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/axe-core-api/e2e/selenium/spec/api_spec.rb b/packages/axe-core-api/e2e/selenium/spec/api_spec.rb index ddfb090..15e1337 100644 --- a/packages/axe-core-api/e2e/selenium/spec/api_spec.rb +++ b/packages/axe-core-api/e2e/selenium/spec/api_spec.rb @@ -8,6 +8,7 @@ options.add_argument('--headless') options.add_argument('--no-sandbox') options.add_argument('--disable-dev-shm-usage') +options.add_argument('--disable-gpu') $driver = Selenium::WebDriver.for :chrome, options: options Run = Axe::API::Run From ec84bf25086ddd179364c405adcc09abaed6e23f Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Fri, 1 Nov 2024 20:07:47 +0530 Subject: [PATCH 4/9] chore: removed parallelism on container --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4cf712d..7cb45a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,6 @@ version: 2.1 defaults: &defaults docker: - image: cimg/ruby:2.7.5-browsers - parallelism: 4 # selenium-webdriver with --disable-dev-shm-usage is maxing out resources working_directory: ~/axe-core-gems orbs: From 370897f07b9ef87cb1a0624db831c8f7d895086a Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Mon, 4 Nov 2024 11:14:58 +0530 Subject: [PATCH 5/9] chore: updated chrome pinpoint version update --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7cb45a7..ac6125c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ commands: steps: - checkout - browser-tools/install-browser-tools: - chrome-version: 126.0.6478.182 + chrome-version: 130.0.6723.91 replace-existing-chrome: true - node/install: node-version: "16.13" From 8a21100aed368bbc10fb4f4de2e370007ffff152 Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Mon, 4 Nov 2024 11:28:55 +0530 Subject: [PATCH 6/9] chore: remove version from browser-tools --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ac6125c..6bb370f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,9 +14,7 @@ commands: description: Install dependencies and bootstrap packages steps: - checkout - - browser-tools/install-browser-tools: - chrome-version: 130.0.6723.91 - replace-existing-chrome: true + - browser-tools/install-browser-tools - node/install: node-version: "16.13" - run: gem install bundler # setup bundler From 628722a1bb0ab5b2e121010e533c1df1b9779741 Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Mon, 4 Nov 2024 11:42:51 +0530 Subject: [PATCH 7/9] chore: updated ruby image --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6bb370f..c1b6c44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 defaults: &defaults docker: - - image: cimg/ruby:2.7.5-browsers + - image: cimg/ruby:3.3.5-browsers working_directory: ~/axe-core-gems orbs: @@ -14,7 +14,9 @@ commands: description: Install dependencies and bootstrap packages steps: - checkout - - browser-tools/install-browser-tools + - browser-tools/install-browser-tools: + chrome-version: 126.0.6478.182 + replace-existing-chrome: true - node/install: node-version: "16.13" - run: gem install bundler # setup bundler From 9d28134e240623d9ec1f4a87f330efd5383cb918 Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Mon, 4 Nov 2024 13:52:53 +0530 Subject: [PATCH 8/9] revert: ruby image to 2.7 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c1b6c44..7cb45a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2.1 defaults: &defaults docker: - - image: cimg/ruby:3.3.5-browsers + - image: cimg/ruby:2.7.5-browsers working_directory: ~/axe-core-gems orbs: From bdbe22318b7f69464ac438558d54ba3d6bf90713 Mon Sep 17 00:00:00 2001 From: nayanrajDQ Date: Mon, 4 Nov 2024 19:30:07 +0530 Subject: [PATCH 9/9] chore: increase container size --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7cb45a7..3d1ca5c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ defaults: &defaults docker: - image: cimg/ruby:2.7.5-browsers working_directory: ~/axe-core-gems + resource_class: large orbs: browser-tools: circleci/browser-tools@1.4.8