Skip to content

Commit

Permalink
fix: browser window + alert
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed Jun 26, 2024
1 parent 34bd713 commit 06318d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/tests/plugin-explorer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test.describe.configure({ mode: 'serial' })

test.beforeEach(async ({ page, browser }) => {
browser.newContext({
viewport: { width: 1920, height: 1024 },
viewport: { width: 1920, height: 1800 },
})
await page.goto('http://localhost:3000/')
await page.getByRole('button', { name: 'data source DemoDataSource' }).click()
Expand Down
1 change: 0 additions & 1 deletion e2e/tests/plugin-list-task_list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ test('task list', async ({ page }) => {
).toHaveValue('Wash the car')
await contentWrapper.getByText('Mark task as complete').click()
await contentWrapper.getByRole('button', { name: 'Submit' }).click()
await expect(page.getByRole('alert')).toHaveText(['Document updated'])
await page.getByLabel('Close task_list').click()
await page.getByTestId('task_list').getByLabel('Open in tab').click()
await page
Expand Down

0 comments on commit 06318d8

Please sign in to comment.