Skip to content

Commit

Permalink
test: add first playwright test
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Nov 22, 2023
1 parent da78b4a commit 5c8244b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions web/frontend/tests/integration/homepage.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { test, expect } from '@playwright/test';

test('Assert homepage title', async({ page }) => {
await page.goto(process.env.FRONT_END_URL);
await expect(page).toHaveTitle(/D-Voting/);
});

0 comments on commit 5c8244b

Please sign in to comment.