Skip to content

Check for alert dialog when doing a force logout#59329

Merged
brianseeders merged 7 commits intoelastic:masterfrom
brianseeders:fix/force-logout-check-alert
Mar 6, 2020
Merged

Check for alert dialog when doing a force logout#59329
brianseeders merged 7 commits intoelastic:masterfrom
brianseeders:fix/force-logout-check-alert

Conversation

@brianseeders
Copy link
Contributor

@brianseeders brianseeders commented Mar 4, 2020

There are test suites that use forceLogout() to ensure a clean state before the tests run. However, if the test that executed beforehand left the browser on a page with unsaved changes or similar, an alert confirmation will spawn when trying to navigate to the logout page.

This PR simply adds handling for the alert box, similar to what's in CommonPage

@brianseeders brianseeders added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Mar 4, 2020
@LeeDr LeeDr mentioned this pull request Mar 4, 2020
@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders brianseeders marked this pull request as ready for review March 4, 2020 23:14
@brianseeders brianseeders requested review from LeeDr and spalger March 4, 2020 23:14
@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@brianseeders
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brianseeders brianseeders merged commit dd9999b into elastic:master Mar 6, 2020
@brianseeders brianseeders deleted the fix/force-logout-check-alert branch March 6, 2020 21:03
brianseeders added a commit to brianseeders/kibana that referenced this pull request Mar 6, 2020
brianseeders added a commit to brianseeders/kibana that referenced this pull request Mar 6, 2020
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 7, 2020
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 9, 2020
* master: (154 commits)
  Add an optional authentication mode for HTTP resources (elastic#58589)
  Implement embeddable drilldown menu options (elastic#59232)
  [Alerting] "Create alert" graph visualization design improvements (elastic#59399)
  Alerting update route throttle property is missing (elastic#59580)
  [SIEM] Adds 'Load prebuilt rules' Cypress test (elastic#59529)
  Show error if field is not found during filter rendering (elastic#59298)
  Navigate back to discover app during test, because the saved search from the preceding test has major performance problems when used with this test (elastic#59571)
  Check for alert dialog when doing a force logout (elastic#59329)
  ensure fs deletes are not cwd dependent (elastic#59570)
  Empty message for APM service map (elastic#59518)
  [Drilldowns] <ActionWizard/> Component (elastic#59032)
  [Reporting] Improve the page exit error messages (elastic#59351)
  Ensure logged out starting state for tests that need it (elastic#59322)
  Hide input value from kbn-config-schema error messages (elastic#58843)
  [ML] Transforms: Migrate client plugin to NP. (elastic#59443)
  [ML] Disable failing functional tests
  [SIEM] Update Timeline to use the latest euiFlyoutBody style (elastic#59524)
  Temporarily remove the project mappings for PR labels (elastic#59493)
  [Alerting] replace index threshold graph usage of watcher APIs with new API (elastic#59385)
  [ML] Show view series link in anomalies table for machine_learning_user role (elastic#59549)
  ...
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

brianseeders added a commit that referenced this pull request Mar 10, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
brianseeders added a commit that referenced this pull request Mar 10, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.6.2 v7.7.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments