Ghost/ghost/core/test/e2e-browser/frontend.spec.js
Daniel Lockyer 3d989eba23 Converted Ghost repo into a monorepo
refs https://github.com/TryGhost/Toolbox/issues/354

- this commit turns the Ghost repo into a monorepo so we can bring our
  internal packages back in, which makes life easier when working on
  Ghost
2022-07-20 16:41:05 +02:00

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