Skip to content

Commit

Permalink
Merge branch 'main' into endpoint-e2e-response-console
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski authored May 1, 2023
2 parents 377e23d + 5035be8 commit e62eaaf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
full_name: 'test user',
});

// Navigate home before attempting to login or we may get redirected to
// Discover with a forbidden error, which hides the chrome and causes
// PageObjects.security.login to fail when checking for the logout button
await PageObjects.common.navigateToUrl('home', '', {
ensureCurrentUrl: false,
shouldLoginIfPrompted: false,
});

await PageObjects.security.login(
'no_discover_privileges_user',
'no_discover_privileges_user-password',
Expand Down

0 comments on commit e62eaaf

Please sign in to comment.