Skip to content

Commit

Permalink
fix: test bigger browser size in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Jun 25, 2024
1 parent 04c594a commit 34bd713
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion e2e/tests/plugin-explorer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 34bd713

Please sign in to comment.