mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
9 lines
256 B
JavaScript
9 lines
256 B
JavaScript
|
const {expect, test} = require('@playwright/test');
|
||
|
|
||
|
let siteUrl = process.env.TEST_URL || 'http://localhost:2368';
|
||
|
|
||
|
test('Homepage is 200', async ({page}) => {
|
||
|
const response = await page.goto(siteUrl);
|
||
|
expect(response.status()).toEqual(200);
|
||
|
});
|