Skip to content

Commit

Permalink
Switched order of tests so license downgrade test runs last. (elastic…
Browse files Browse the repository at this point in the history
…#42312) (elastic#42481)

* Added 5 second sleep to let thte page load before checking for title.

* Changed the order of the license file to last. Removed sleep because it wasn't the problem.

* Addes skip cloud tag so this test doesn't run on cloud.

* Added a comment in config to leave the license file last because it's destructive.
  • Loading branch information
John Dorlus authored Aug 1, 2019
1 parent faf8bfa commit e555582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default ({ getPageObjects, getService }: KibanaFunctionalTestDefaultProvi
const log = getService('log');

describe('Home page', function() {
this.tags(['skipCloud']);
before(async () => {
await pageObjects.common.navigateToApp('licenseManagement');
});
Expand Down
3 changes: 2 additions & 1 deletion x-pack/test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,13 @@ export default async function ({ readConfigFile }) {
resolve(__dirname, './apps/dev_tools'),
resolve(__dirname, './apps/apm'),
resolve(__dirname, './apps/index_patterns'),
resolve(__dirname, './apps/license_management'),
resolve(__dirname, './apps/index_management'),
resolve(__dirname, './apps/index_lifecycle_management'),
resolve(__dirname, './apps/snapshot_restore'),
resolve(__dirname, './apps/cross_cluster_replication'),
resolve(__dirname, './apps/remote_clusters'),
// This license_management file must be last because it is destructive.
resolve(__dirname, './apps/license_management'),
],

// define the name and providers for services that should be
Expand Down

0 comments on commit e555582

Please sign in to comment.