There was an error while loading. Please reload this page.
1 parent 917abb2 commit 5d5e520Copy full SHA for 5d5e520
assets/test/browser/placeholder.test.ts
@@ -1,7 +1,11 @@
1
-import { describe, expect, it } from 'vitest';
+import { expect, test } from '@playwright/test';
2
3
-describe('Placeholder', () => {
4
- it('pass', () => {
5
- expect(true).toBe(true);
6
- });
+test('get started link', async ({ page }) => {
+ await page.goto('https://playwright.dev/');
+
+ // Click the get started link.
7
+ await page.getByRole('link', { name: 'Get started' }).click();
8
9
+ // Expects page to have a heading with the name of Installation.
10
+ await expect(page.getByRole('heading', { name: 'Installation' })).toBeVisible();
11
});
0 commit comments