Skip to content

Commit

Permalink
Add security_page code back in
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyos committed May 18, 2020
1 parent 7ad9296 commit a38a39d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/test/functional/page_objects/security_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ export function SecurityPageProvider({ getService, getPageObjects }: FtrProvider
async login(username?: string, password?: string, options: LoginOptions = {}) {
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 waitForLoginForm();

const [superUsername, superPassword] = config.get('servers.elasticsearch.auth').split(':');
Expand Down

0 comments on commit a38a39d

Please sign in to comment.