mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 18:05:19 +02:00
chore: disable mismatched root URL e2e test for safari (#8460)
- I cannot give a good rationale why Mobile Safari and webkit is failing this test quite consistently and also succeed quite often. We add a script to ensure that we get a mismatched URL - but these two browsers either ignore this script sometime or delays the execution until after the root URL check is done. - Because it is very hard to run webkit and mobile safari without running a heavily containerized environment (without a graphical interface) it is near impossible to debug this issue properly; save ourselves a headache and disable it instead. I find it more likely to be a problem with my playwright test than it to be a problem with the mismatched root URL code. - Ref forgejo/forgejo#8359 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8460 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
This commit is contained in:
parent
ba42ebf1ae
commit
3c7e3ec9e2
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@
|
|||
import {expect} from '@playwright/test';
|
||||
import {test, save_visual, test_context} from './utils_e2e.ts';
|
||||
|
||||
test('Mismatched ROOT_URL', async ({browser}) => {
|
||||
test('Mismatched ROOT_URL', async ({browser}, workerInfo) => {
|
||||
test.skip(['Mobile Safari', 'webkit'].includes(workerInfo.project.name), 'init script gets randomly ignored');
|
||||
const context = await test_context(browser);
|
||||
const page = await context.newPage();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue