From 1ed8e02e7bb4ec4c6af2f943f6ec9cc9fa7835f2 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Wed, 5 Oct 2022 18:03:27 +0200 Subject: [PATCH] Update viewport width for mobile tests --- ui-tests/test/general.spec.ts | 1 + ui-tests/test/mobile.spec.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-tests/test/general.spec.ts b/ui-tests/test/general.spec.ts index 6ee5e9275..57cc90762 100644 --- a/ui-tests/test/general.spec.ts +++ b/ui-tests/test/general.spec.ts @@ -6,6 +6,7 @@ import path from 'path'; import { expect } from '@playwright/test'; import { test } from './fixtures'; + import { waitForKernelReady } from './utils'; test.describe('General', () => { diff --git a/ui-tests/test/mobile.spec.ts b/ui-tests/test/mobile.spec.ts index 1cafd84d4..229606088 100644 --- a/ui-tests/test/mobile.spec.ts +++ b/ui-tests/test/mobile.spec.ts @@ -8,7 +8,7 @@ import { expect } from '@playwright/test'; import { test } from './fixtures'; import { waitForKernelReady } from './utils'; -test.use({ autoGoto: false, viewport: { width: 512, height: 768 } }); +test.use({ autoGoto: false, viewport: { width: 524, height: 800 } }); test.describe('Mobile', () => { test('The layout should be more compact on the file browser page', async ({