diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e62704386..f0931fd97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,6 @@ on: env: DEBUG: "@faltest*,faltest-helpers" DETECT_CHROMEDRIVER_VERSION: true - DETECT_EDGEDRIVER_VERSION: true jobs: lint-git: @@ -64,6 +63,8 @@ jobs: # - uses: browser-actions/setup-edge@latest - run: yarn install --frozen-lockfile + env: + EDGEDRIVER_VERSION: 128.0.2739.56 - run: yarn test env: WEBDRIVER_HEADLESS: true @@ -89,6 +90,8 @@ jobs: node-version: ${{ matrix.node }} - run: yarn install --frozen-lockfile + env: + EDGEDRIVER_VERSION: ${{ matrix.os == 'ubuntu-latest' && '128.0.2739.56' || matrix.os == 'macos-latest' && '128.0.2739.61' || '128.0.2739.54' }} - if: runner.os == 'Linux' # https://github.com/juliangruber/browser-run/issues/147#issue-495226343 run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & diff --git a/packages/remote/src/index.js b/packages/remote/src/index.js index 723966f89..6f18d169e 100644 --- a/packages/remote/src/index.js +++ b/packages/remote/src/index.js @@ -193,13 +193,13 @@ async function spawnWebDriver(name, args) { await driverSwitch(name, { async chrome() { - await waitForText('ChromeDriver was started successfully.'); + await waitForText('ChromeDriver was started successfully'); }, async firefox() { await waitForText('Listening on 127.0.0.1'); }, async edge() { - await waitForText('Microsoft Edge WebDriver was started successfully.'); + await waitForText('Microsoft Edge WebDriver was started successfully'); }, });