Skip to content

Commit

Permalink
fix funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Dec 1, 2021
1 parent 2c43a24 commit 073ee59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/uptime/e2e/playwright_start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function playwrightRunTests({ headless, match }: { headless: boolean; mat
};
}

async function playwrightStart(getService: any, headless: boolean, match?: string) {
async function playwrightStart(getService: any, headless = true, match?: string) {
console.log('Loading esArchiver...');
const esArchiver = getService('esArchiver');
await esArchiverLoad('full_heartbeat');
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/uptime/scripts/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if (server) {
const config = './playwright_run.ts';

function executeRunner() {
if (server) {
if (server || ftrScript === 'functional_tests') {
childProcess.execSync(
`node ../../../scripts/${ftrScript} --config ${config} --kibana-install-dir '${kibanaInstallDir}' `,
{
Expand Down

0 comments on commit 073ee59

Please sign in to comment.