mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 11:16:11 +01:00
e2e: Skip Mobile safari + Remove unnecessary await
This commit is contained in:
parent
54895f8d66
commit
27fd066e14
|
@ -12,6 +12,8 @@ test.beforeAll(async ({browser}, workerInfo) => {
|
|||
});
|
||||
|
||||
test('Markdown image preview behaviour', async ({browser}, workerInfo) => {
|
||||
test.skip(workerInfo.project.name === 'Mobile Safari', 'Flaky behaviour on mobile safari;');
|
||||
|
||||
const context = await load_logged_in_context(browser, workerInfo, 'user2');
|
||||
|
||||
// Editing the root README.md file for image preview
|
||||
|
@ -26,7 +28,6 @@ test('Markdown image preview behaviour', async ({browser}, workerInfo) => {
|
|||
|
||||
// This yields the monaco editor
|
||||
const editor = page.getByRole('presentation').nth(0);
|
||||
await expect(editor).toBeVisible();
|
||||
await editor.click();
|
||||
// Clear all the content
|
||||
await page.keyboard.press('ControlOrMeta+KeyA');
|
||||
|
|
Loading…
Reference in a new issue