Skip to content

Commit

Permalink
fix: test scrolling in view
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Jun 26, 2024
1 parent 06318d8 commit 00504b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e/tests/plugin-explorer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import { expect, test } from '@playwright/test'
test.describe.configure({ mode: 'serial' })

test.beforeEach(async ({ page, browser }) => {
browser.newContext({
viewport: { width: 1920, height: 1800 },
})
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 Expand Up @@ -47,6 +44,7 @@ test('Create entity with name', async ({ page }) => {
await page
.getByRole('button', { name: 'package Playwright', exact: true })
.click({ button: 'right' })
await page.mouse.wheel(0, 300)
await page.getByRole('menuitem', { name: 'New entity' }).click()
const dialog = page.getByRole('dialog')
await expect(dialog).toBeVisible()
Expand Down

0 comments on commit 00504b2

Please sign in to comment.