Skip to content

Commit

Permalink
test: screen-reader
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Apr 24, 2024
1 parent dbbff41 commit ed6cdf3
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/playwright-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions screen-reader-test/playwright.screen-reader.mac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
],
};

Expand Down
4 changes: 4 additions & 0 deletions screen-reader-test/playwright.screen-reader.win.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const config: PlaywrightTestConfig = {
name: "chromium",
use: { ...devices["Desktop Chrome"], headless: false },
},
{
name: "firefox",
use: { ...devices["Desktop Firefox"], headless: false },
}
],
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["(Default) Text button","Icon & Text button","Icon button",fail]
["(Default) Text button","Icon & Text button","Icon button"]

0 comments on commit ed6cdf3

Please sign in to comment.