Files
supanextail/tests/basic.spec.ts
Michael a85e672f9f Clean Blog system
- Improved the blog posts
- Add a test to visit the blog index
- Add Tailwind Typography for the markdown blog posts
2022-01-19 12:47:38 +01:00

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');
});