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 63fb110
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/frontend/tests/integration/homepage.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { test, expect } from '@playwright/test';

// TODO use env variable
test('Assert homepage title', async({ page }) => {
await page.goto('http://127.0.0.1:3000');
await expect(page).toHaveTitle(/D-Voting/);
});

0 comments on commit 63fb110

Please sign in to comment.