Skip to content

Commit 4d21cae

Browse files
committed
Disable Calculator test in WebKit
1 parent 6af4b64 commit 4d21cae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

β€Žtests/calculator.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ test.beforeEach(async ({ page }) => {
55
await page.getByText('Calculator').dblclick();
66
});
77

8-
test('can do some math', async ({ page }) => {
8+
test('can do some math', async ({ page, browserName }) => {
9+
// TODO: test error handling in case WebAssembly isn't supported
10+
test.skip(browserName === 'webkit', 'WebAssembly not supported in WebKit');
911
await page.frameLocator('iframe').getByRole('button', { name: '1' }).click();
1012
await page.frameLocator('iframe').getByLabel('add').click();
1113
await page.frameLocator('iframe').getByRole('button', { name: '2' }).click();

0 commit comments

Comments
Β (0)