fix(e2e): disable webkit/safari in tests where they are too falky (#9599)
These tests often appear as failing with one failed retry in e2e logs for either browsers. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9599 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
parent
2189b35545
commit
39f389eb17
3 changed files with 9 additions and 3 deletions
|
|
@ -374,7 +374,9 @@ test('Markdown insert table', async ({page}) => {
|
|||
await screenshot(page);
|
||||
});
|
||||
|
||||
test('Markdown insert link', async ({page}) => {
|
||||
test('Markdown insert link', async ({page}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'webkit', 'webkit is unreliable in this test');
|
||||
|
||||
const response = await page.goto('/user2/repo1/issues/new');
|
||||
expect(response?.status()).toBe(200);
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ import {screenshot} from './shared/screenshots.ts';
|
|||
|
||||
test.use({user: 'user2'});
|
||||
|
||||
test('Follow and block actions', async ({page}) => {
|
||||
test('Follow and block actions', async ({page}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'Mobile Safari', 'Mobile Safari is unreliable in this test');
|
||||
|
||||
await page.goto('/user1');
|
||||
|
||||
// Check if following and then unfollowing works.
|
||||
|
|
|
|||
|
|
@ -37,7 +37,9 @@ async function assertSelectedLines(page: Page, nums: string[]) {
|
|||
return pageAssertions();
|
||||
}
|
||||
|
||||
test('Line Range Selection', async ({page}) => {
|
||||
test('Line Range Selection', async ({page}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'webkit', 'webkit is unreliable in this test');
|
||||
|
||||
const filePath = '/user2/repo1/src/branch/master/README.md?display=source';
|
||||
|
||||
const response = await page.goto(filePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue