Skip to content

Commit 2920b5d

Browse files
committed
fix actions workflow failing dependencies
1 parent 74923ad commit 2920b5d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/flourish-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
integration-tests:
2323
needs: prepare-flourish-rapid
2424
timeout-minutes: 60
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-22.04
2626
steps:
2727
- uses: actions/checkout@v4
2828
- uses: actions/setup-node@v4

apps/flourish-integration-tests/tests/modal.spec.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ test.describe("<Modal /> integration tests", () => {
9494

9595
test("Should be able to open basic modal using only keyboard and trigger dismiss icon btn using only keyboard, once closed focus should return to the trigger element", async ({
9696
page,
97+
browserName
9798
}) => {
99+
test.skip(
100+
browserName.toLowerCase() !== "chromium",
101+
`Test only for chromium!`
102+
);
98103
await openBasicModalViaTabKey(page);
99104
expect(page.locator(basicModalSelector)).toBeVisible();
100105
await keyToElement(page, basicModalDismissBtnSelector);
@@ -107,7 +112,12 @@ test.describe("<Modal /> integration tests", () => {
107112

108113
test("Should be able to open basic modal using only keyboard and close modal by pressing escape key, once closed focus should return to the trigger element", async ({
109114
page,
115+
browserName
110116
}) => {
117+
test.skip(
118+
browserName.toLowerCase() !== "chromium",
119+
`Test only for chromium!`
120+
);
111121
await openBasicModalViaTabKey(page);
112122
expect(page.locator(basicModalSelector)).toBeVisible();
113123
await page.keyboard.press("Escape");

0 commit comments

Comments
 (0)