mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 09:17:54 +00:00
- Improved the blog posts - Add a test to visit the blog index - Add Tailwind Typography for the markdown blog posts
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
import { test } from '@playwright/test';
|
|
|
|
test('basic test', async ({ page }) => {
|
|
const myURL: string = process.env.PLAYWRIGHT_TEST_BASE_URL
|
|
? process.env.PLAYWRIGHT_TEST_BASE_URL
|
|
: ('http://localhost:3000/' as string);
|
|
|
|
await page.goto(myURL);
|
|
// Go through all pages
|
|
await page.click('#login');
|
|
await page.click('#pricing');
|
|
await page.click('#blog');
|
|
await page.click('#signup');
|
|
});
|