f6870fa846
refs: https://github.com/TryGhost/Toolbox/issues/479 Framework includes: * command to run tests * command to record tests * mechanism for starting and stopping Ghost before and after each suite of tests * mechanism for loading fixtures into Ghost before starting tests * sample test for controlling Ghost Admin
14 lines
411 B
JavaScript
14 lines
411 B
JavaScript
/** @type {import('@playwright/test').PlaywrightTestConfig} */
|
|
const config = {
|
|
timeout: 20 * 1000,
|
|
workers: 1,
|
|
use: {
|
|
// Use a single browser since we can't run multiple instances of Ghost simultaneously
|
|
// and we can't run tests against a standalone server if we also want to add fixtures
|
|
browserName: 'chromium',
|
|
headless: false
|
|
}
|
|
};
|
|
|
|
module.exports = config;
|