mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Reverted unrelated changes in test file
no issue
This commit is contained in:
parent
5619348c26
commit
9e54128a39
1 changed files with 3 additions and 15 deletions
|
@ -1,20 +1,8 @@
|
|||
const {expect, test} = require('@playwright/test');
|
||||
const testUtils = require('../utils');
|
||||
const express = require('express');
|
||||
|
||||
let siteUrl = process.env.TEST_URL || 'http://localhost:2368';
|
||||
|
||||
test.describe('Ghost frontend', function () {
|
||||
test.beforeAll(async function () {
|
||||
const app = await testUtils.startGhost();
|
||||
});
|
||||
|
||||
test.afterAll(async () => {
|
||||
await testUtils.stopGhost();
|
||||
});
|
||||
|
||||
test('Loads the homepage', async ({page}) => {
|
||||
const response = await page.goto(siteUrl);
|
||||
expect(response.status()).toEqual(200);
|
||||
});
|
||||
test('Homepage is 200', async ({page}) => {
|
||||
const response = await page.goto(siteUrl);
|
||||
expect(response.status()).toEqual(200);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue