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 committed Feb 25, 2020
1 parent 46da04c commit 58b33ab
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 58b33ab

Please sign in to comment.