97e5ca1de6
- we should start to keep tests grouped by their area, so first we split by Admin tests and then Portal tests, and within that we split into setup/Tiers/Offers etc
14 lines
434 B
JavaScript
14 lines
434 B
JavaScript
const {expect, test} = require('@playwright/test');
|
|
|
|
test.describe('Setup', () => {
|
|
test('Loads Admin', async ({page}) => {
|
|
const response = await page.goto('/ghost');
|
|
expect(response.status()).toEqual(200);
|
|
});
|
|
|
|
test('Is setup correctly', async ({page}) => {
|
|
await page.goto('/ghost');
|
|
await expect(page.locator('.gh-nav-menu-details-sitetitle')).toHaveText(/The Local Test/);
|
|
});
|
|
});
|