From 2584022c09ea68039e158056d3ecec54c8f98f6a Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Sat, 13 Apr 2024 11:39:14 +0200 Subject: [PATCH] webdriver --- .circleci/config.yml | 3 ++- apps/remix-ide-e2e/nightwatch.ts | 4 +++- chrome.sh | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 203a691d49..b0a3708f69 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -378,8 +378,9 @@ jobs: - browser-tools/install-browser-tools: install-firefox: true install-chrome: false - install-geckodriver: true + install-geckodriver: false install-chromedriver: false + - run: sh ./chrome.sh - run: firefox --version diff --git a/apps/remix-ide-e2e/nightwatch.ts b/apps/remix-ide-e2e/nightwatch.ts index fbd84565a4..4a75dd3664 100644 --- a/apps/remix-ide-e2e/nightwatch.ts +++ b/apps/remix-ide-e2e/nightwatch.ts @@ -9,7 +9,6 @@ module.exports = { webdriver: { start_process: true, port: 4444, - server_path: './node_modules/geckodriver/bin/geckodriver.js', cli_args: [ // very verbose geckodriver logs // '-vv' @@ -88,6 +87,9 @@ module.exports = { }, 'firefox': { + web_driver: { + server_path: './node_modules/geckodriver/bin/geckodriver.js' + }, desiredCapabilities: { 'browserName': 'firefox', 'javascriptEnabled': true, diff --git a/chrome.sh b/chrome.sh index 72948879a1..cbb1c91e12 100644 --- a/chrome.sh +++ b/chrome.sh @@ -2,4 +2,5 @@ VERSION=$(grep -Eo '[0-9]+\.' < version.txt | head -1 | cut -d'.' -f1) echo "CHROME DRIVER INSTALL $VERSION" yarn add -D chromedriver@$VERSION - rm version.txt \ No newline at end of file + rm version.txt + yarn add -D geckodriver \ No newline at end of file