Skip to content

Commit

Permalink
[Synthetics] Update version for package to 1.12.1 (elastic#192551)
Browse files Browse the repository at this point in the history
## Summary

Update version for package !!

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
shahzad31 and kibanamachine committed Sep 12, 2024
1 parent 88f363c commit e01dc14
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 190 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@
"@cypress/webpack-preprocessor": "^6.0.1",
"@elastic/eslint-plugin-eui": "0.0.2",
"@elastic/makelogs": "^6.1.1",
"@elastic/synthetics": "^1.5.0",
"@elastic/synthetics": "^1.12.1",
"@emotion/babel-preset-css-prop": "^11.11.0",
"@emotion/jest": "^11.11.0",
"@formatjs/cli": "^6.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class SyntheticsRunner {
dir: '.journeys/videos',
},
},
match: match === 'undefined' ? '' : match,
grepOpts: { match: match === 'undefined' ? '' : match },
pauseOnError,
screenshots: 'only-on-failure',
reporter: TestReporter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import { FtrConfigProviderContext } from '@kbn/test';
import { CA_CERT_PATH } from '@kbn/dev-utils';
import { get } from 'lodash';
import { commonFunctionalServices } from '@kbn/ftr-common-functional-services';
import { commonFunctionalUIServices } from '@kbn/ftr-common-functional-ui-services';
import { readKibanaConfig } from './tasks/read_kibana_config';
Expand All @@ -24,9 +25,11 @@ async function config({ readConfigFile }: FtrConfigProviderContext) {

const kibanaConfig = readKibanaConfig();

const manifestUrl = process.env.SYNTHETICS_SERVICE_MANIFEST ?? kibanaConfig[MANIFEST_KEY];
const serviceUsername = process.env.SYNTHETICS_SERVICE_USERNAME ?? kibanaConfig[SERVICE_USERNAME];
const servicePassword = process.env.SYNTHETICS_SERVICE_PASSWORD ?? kibanaConfig[SERVICE_PASSWORD];
const manifestUrl = process.env.SYNTHETICS_SERVICE_MANIFEST ?? get(kibanaConfig, MANIFEST_KEY);
const serviceUsername =
process.env.SYNTHETICS_SERVICE_USERNAME ?? get(kibanaConfig, SERVICE_USERNAME);
const servicePassword =
process.env.SYNTHETICS_SERVICE_PASSWORD ?? get(kibanaConfig, SERVICE_PASSWORD);

return {
...kibanaCommonTestsConfig.getAll(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class SyntheticsRunner {
dir: '.journeys/videos',
},
},
match: match === 'undefined' ? '' : match,
grepOpts: { match: match === 'undefined' ? '' : match },
pauseOnError: pauseOnError ?? !CI,
screenshots: 'only-on-failure',
reporter: TestReporter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class SyntheticsRunner {
dir: '.journeys/videos',
},
},
match: match === 'undefined' ? '' : match,
grepOpts: { match: match === 'undefined' ? '' : match },
pauseOnError,
screenshots: 'only-on-failure',
reporter: TestReporter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { journey, step, before } from '@elastic/synthetics';
import { byTestId, waitForLoadingToFinish } from '../../helpers/utils';
import { recordVideo } from '../../helpers/record_video';

journey('uptime', ({ page, params }) => {
journey('UptimeOverview', ({ page, params }) => {
recordVideo(page);

before(async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class SyntheticsRunner {
dir: '.journeys/videos',
},
},
match: match === 'undefined' ? '' : match,
grepOpts: { match: match === 'undefined' ? '' : match },
pauseOnError,
screenshots: 'only-on-failure',
reporter: TestReporter,
Expand Down
422 changes: 241 additions & 181 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit e01dc14

Please sign in to comment.