chore(e2e): disable webkit/safari in some tests (#9642)
Followup to https://codeberg.org/forgejo/forgejo/pulls/9599#issuecomment-7670890. I analyzed a bunch more recent runs and adding skipping for ones that fail very often. Coincidentally all of the most failing tests were already skipped for either Webkit or Safari, just not for both. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9642 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
This commit is contained in:
@@ -375,7 +375,7 @@ test('Markdown insert table', async ({page}) => {
|
||||
});
|
||||
|
||||
test('Markdown insert link', async ({page}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'webkit', 'webkit is unreliable in this test');
|
||||
test.skip(['Mobile Safari', 'webkit'].includes(workerInfo.project.name), 'Unreliable in this test');
|
||||
|
||||
const response = await page.goto('/user2/repo1/issues/new');
|
||||
expect(response?.status()).toBe(200);
|
||||
|
||||
@@ -12,7 +12,8 @@ import {validate_form} from './shared/forms.ts';
|
||||
test.use({user: 'user2'});
|
||||
|
||||
test('org team settings', async ({page}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'Mobile Safari', 'Cannot get it to work - as usual');
|
||||
test.skip(['Mobile Safari', 'webkit'].includes(workerInfo.project.name), 'Unreliable in this test');
|
||||
|
||||
const response = await page.goto('/org/org3/teams/team1/edit');
|
||||
expect(response?.status()).toBe(200);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ async function assertSelectedLines(page: Page, nums: string[]) {
|
||||
}
|
||||
|
||||
test('Line Range Selection', async ({page}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'webkit', 'webkit is unreliable in this test');
|
||||
test.skip(['Mobile Safari', 'webkit'].includes(workerInfo.project.name), 'Unreliable in this test');
|
||||
|
||||
const filePath = '/user2/repo1/src/branch/master/README.md?display=source';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user