Skip to content

Commit

Permalink
feat: replace cypress with playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
puehringer committed May 22, 2024
1 parent a45c35b commit 7253d3b
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 188 deletions.
18 changes: 0 additions & 18 deletions cypress.config.ts

This file was deleted.

2 changes: 0 additions & 2 deletions cypress/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions cypress/component/component-health-check.cy.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions cypress/e2e/e2e-health-check.cy.ts

This file was deleted.

Binary file removed cypress/fixtures/cypress_logo.png
Binary file not shown.
5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

39 changes: 0 additions & 39 deletions cypress/support/commands.ts

This file was deleted.

10 changes: 0 additions & 10 deletions cypress/support/component-index.html

This file was deleted.

40 changes: 0 additions & 40 deletions cypress/support/component.ts

This file was deleted.

24 changes: 0 additions & 24 deletions cypress/support/e2e.ts

This file was deleted.

9 changes: 0 additions & 9 deletions cypress/support/index.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions cypress/tsconfig.json

This file was deleted.

9 changes: 3 additions & 6 deletions playwright/app/app.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import { test } from '@playwright/test';
import { test, expect } from '@playwright/test';

test.describe('App', () => {
test('App test 01', async ({ page }) => {
await page.goto('/');

await page.getByText('Campaign name').fill('Test campaign name');
await page.getByText('Campaign description').fill('Test campaign description');
await page.getByText('Create campaign').click();
await page.getByText('Delete').click();

await expect(page.getByText('My first campaign')).toBeVisible();
});
});

0 comments on commit 7253d3b

Please sign in to comment.