0
Fork 0
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:
Sam Lord 2022-11-16 10:26:06 +00:00
parent 5619348c26
commit 9e54128a39

View file

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