Skip to content

Commit

Permalink
use skip in test
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-Arc committed Jan 9, 2025
1 parent 7f23677 commit 6c5c997
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion e2e/tests/000-upload-showfile.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test('project file upload', async ({ page }) => {
});

test('project file download', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');

// close the welcome modal if it is open
await page.keyboard.down('Escape');
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/001-smoke-tests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test.describe('pages routes are available', () => {
test.use({ viewport: { width: 1920, height: 1080 } });
test.describe('main views', () => {
test('editor', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');

await expect(page).toHaveTitle(/ontime/);
await expect(page.getByTestId('editor-container')).toBeVisible();
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
@@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test';

test('delay blocks add time to events', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');

// delete all events and add a new one
await page.getByRole('button', { name: 'Edit' }).click();
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/features/204-editor-crud.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test';

test('CRUD operations on the rundown', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
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
2 changes: 1 addition & 1 deletion e2e/tests/features/205-operator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test';

test('smoke test operator', async ({ page }) => {
// make some boilerplate
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');
await page.getByRole('button', { name: 'Edit' }).click();
await page.getByRole('button', { name: 'Clear rundown' }).click();
await page.getByRole('button', { name: 'Delete all' }).click();
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/features/206-url-preset.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test';

test('URL preset feature, it should redirect to given URL', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');

// open settings
await page.getByRole('button', { name: 'Toggle settings' }).click();
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/features/208-auxtimer.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test';

test('Aux timer buttons', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');
await page.getByTestId('time-input-auxTimer').click();
await page.getByTestId('time-input-auxTimer').fill('123456');
await page.getByTestId('time-input-auxTimer').press('Enter');
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/features/301-spreadsheet-import.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { expect, test } from '@playwright/test';
const fileToUpload = 'e2e/tests/fixtures/test-sheet.xlsx';

test('sheet file upload', async ({ page }) => {
await page.goto('http://localhost:4001/editor');
await page.goto('http://localhost:4001/editor?skip-welcome');
await page.getByRole('button', { name: 'Edit' }).click();
await page.getByRole('button', { name: 'Clear rundown' }).click();
await page.getByRole('button', { name: 'Delete all' }).click();
Expand Down

0 comments on commit 6c5c997

Please sign in to comment.