Skip to content

Commit

Permalink
chore: skip form action tests on webkit build
Browse files Browse the repository at this point in the history
fetch requests sometimes for unknown reasons go into the abyss and never fire off, most commonly on webkit during build mode - therefore disable tests there
  • Loading branch information
dummdidumm committed Jan 17, 2023
1 parent 1fef868 commit 8ad5ffe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/kit/test/apps/basics/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1797,6 +1797,10 @@ test.describe('XSS', () => {
});

test.describe('Actions', () => {
// fetch requests sometimes for unknown reasons go into the abyss and never fire off,
// most commonly on webkit during build mode - therefore disable tests there
test.skip(({ browserName }) => browserName === 'webkit' && !process.env.DEV);

test('Error props are returned', async ({ page, javaScriptEnabled }) => {
await page.goto('/actions/form-errors');
await page.click('button');
Expand Down

0 comments on commit 8ad5ffe

Please sign in to comment.