diff --git a/.github/actions/playwright-cache/action.yml b/.github/actions/playwright-cache/action.yml index afd5815..153444c 100644 --- a/.github/actions/playwright-cache/action.yml +++ b/.github/actions/playwright-cache/action.yml @@ -11,11 +11,11 @@ runs: run: | if [[ $OS == "Windows" ]]; then echo "CACHE_PATH=C:\Users\runneradmin\AppData\Local\ms-playwright" >> "$GITHUB_ENV" - echo "BROWSER=chromium" >> "$GITHUB_ENV" + echo "BROWSER=chromium firefox" >> "$GITHUB_ENV" echo "OS=windows" >> "$GITHUB_ENV" else echo "CACHE_PATH=~/Library/Caches/ms-playwright" >> "$GITHUB_ENV" - echo "BROWSER=webkit" >> "$GITHUB_ENV" + echo "BROWSER=webkit chromium firefox" >> "$GITHUB_ENV" echo "OS=macos" >> "$GITHUB_ENV" fi diff --git a/screen-reader-test/playwright.screen-reader.mac.ts b/screen-reader-test/playwright.screen-reader.mac.ts index bb30105..198d617 100644 --- a/screen-reader-test/playwright.screen-reader.mac.ts +++ b/screen-reader-test/playwright.screen-reader.mac.ts @@ -9,6 +9,14 @@ const config: PlaywrightTestConfig = { name: "webkit", use: { ...devices["Desktop Safari"], headless: false }, }, + { + name: "chromium", + use: { ...devices["Desktop Chrome"], headless: false }, + }, + { + name: "firefox", + use: { ...devices["Desktop Firefox"], headless: false }, + }, ], }; diff --git a/screen-reader-test/playwright.screen-reader.win.ts b/screen-reader-test/playwright.screen-reader.win.ts index b0eed33..2c1d17b 100644 --- a/screen-reader-test/playwright.screen-reader.win.ts +++ b/screen-reader-test/playwright.screen-reader.win.ts @@ -10,6 +10,10 @@ const config: PlaywrightTestConfig = { name: "chromium", use: { ...devices["Desktop Chrome"], headless: false }, }, + { + name: "firefox", + use: { ...devices["Desktop Firefox"], headless: false }, + } ], }; diff --git a/screen-reader-test/screen-reader/__snapshots__/macos/webkit/DBButton-should-not-have-icon-in-screen-reader.txt b/screen-reader-test/screen-reader/__snapshots__/macos/webkit/DBButton-should-not-have-icon-in-screen-reader.txt index 438f0e0..2f9862e 100644 --- a/screen-reader-test/screen-reader/__snapshots__/macos/webkit/DBButton-should-not-have-icon-in-screen-reader.txt +++ b/screen-reader-test/screen-reader/__snapshots__/macos/webkit/DBButton-should-not-have-icon-in-screen-reader.txt @@ -1 +1 @@ -["(Default) Text button","Icon & Text button","Icon button",fail] \ No newline at end of file +["(Default) Text button","Icon & Text button","Icon button"] \ No newline at end of file