Skip to content

Commit

Permalink
esc not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-Arc committed Jan 9, 2025
1 parent 6c5c997 commit 52d1c56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions e2e/tests/000-upload-showfile.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ const fileToUpload = 'e2e/tests/fixtures/test-db.json';
const fileToDownload = 'e2e/tests/fixtures/tmp/test-db.json';

test('project file upload', async ({ page }) => {
await page.goto('http://localhost:4001/editor');

// close the welcome modal if it is open
await page.keyboard.down('Escape');
await page.goto('http://localhost:4001/editor?skip-welcome');

await page.getByRole('button', { name: 'Edit' }).click();
await page.getByRole('button', { name: 'Clear rundown' }).click();
Expand Down Expand Up @@ -41,9 +38,6 @@ test('project file upload', async ({ page }) => {
test('project file download', async ({ page }) => {
await page.goto('http://localhost:4001/editor?skip-welcome');

// close the welcome modal if it is open
await page.keyboard.down('Escape');

await page.getByRole('button', { name: 'toggle settings' }).click();
await page.getByRole('button', { name: 'Project', exact: true }).click();

Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/features/203-delay-block.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test('delay blocks add time to events', async ({ page }) => {
});

test('delays are show correctly', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');

// add a test event
await page.getByRole('button', { name: 'Edit' }).click();
Expand Down

0 comments on commit 52d1c56

Please sign in to comment.