From 34bd713494058e1f7512edd4cc5f2fb390b9d7e9 Mon Sep 17 00:00:00 2001 From: Andrea Vesterhus Date: Tue, 25 Jun 2024 22:09:13 +0200 Subject: [PATCH] fix: test bigger browser size in tests --- e2e/tests/plugin-explorer.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e2e/tests/plugin-explorer.spec.ts b/e2e/tests/plugin-explorer.spec.ts index b77898e22..e985f4e5c 100644 --- a/e2e/tests/plugin-explorer.spec.ts +++ b/e2e/tests/plugin-explorer.spec.ts @@ -2,7 +2,10 @@ import { expect, test } from '@playwright/test' test.describe.configure({ mode: 'serial' }) -test.beforeEach(async ({ page }) => { +test.beforeEach(async ({ page, browser }) => { + browser.newContext({ + viewport: { width: 1920, height: 1024 }, + }) await page.goto('http://localhost:3000/') await page.getByRole('button', { name: 'data source DemoDataSource' }).click() await page.getByRole('button', { name: 'root package plugins' }).click()