Refactor code structure for improved readability and maintainability
This commit is contained in:
6
tests/example.spec.ts
Normal file
6
tests/example.spec.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('homepage has expected title', async ({ page }) => {
|
||||
await page.goto('https://example.com');
|
||||
await expect(page).toHaveTitle(/Example Domain/);
|
||||
});
|
||||
Reference in New Issue
Block a user