Skip to content

Commit

Permalink
hide welcome screen for cloud (#58371)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored Feb 25, 2020
1 parent 737205f commit 5910e83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x-pack/test/functional/page_objects/security_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export function SecurityPageProvider({ getService, getPageObjects }) {
const rawDataTabLocator = 'a[id=rawdata-tab]';

await PageObjects.common.navigateToApp('login');

// ensure welcome screen won't be shown. This is relevant for environments which don't allow
// to use the yml setting, e.g. cloud
await browser.setLocalStorageItem('home:welcome:show', 'false');

await testSubjects.setValue('loginUsername', username);
await testSubjects.setValue('loginPassword', password);
await testSubjects.click('loginSubmit');
Expand Down

0 comments on commit 5910e83

Please sign in to comment.