-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unskips application leave confirm & application deep links tests #168741
Merged
TinaHeiligers
merged 26 commits into
elastic:main
from
TinaHeiligers:skipped-tests-app-leave-deep-links
Oct 19, 2023
Merged
Changes from 2 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
0feeb53
unskips tests failing in CI
TinaHeiligers a49010c
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine 5fc9a09
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine c61ef3d
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine 4713ed5
Use consistent nav link title, name
TinaHeiligers 15096a6
adds debug log for current URL
TinaHeiligers 4c080ea
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
kibanamachine 59995c8
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine cc6f57f
Improves tests
TinaHeiligers 6f2f392
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine 41e0dcb
Merge branch 'main' into skipped-tests-app-leave-deep-links
TinaHeiligers 06e050d
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine eb25bbc
Ensure app navigates to app home url
TinaHeiligers d0ae7d2
Swap test order to force browser response
TinaHeiligers 16bb946
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine cd2f7a5
updates test plugin and page objects methods to accomodate latest beh…
TinaHeiligers 77ceb45
Merge branch 'skipped-tests-app-leave-deep-links' of github.com:TinaH…
TinaHeiligers ca94111
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine 18abd6b
check exists for the correct modal test subject
TinaHeiligers fac7c79
Merge branch 'skipped-tests-app-leave-deep-links' of github.com:TinaH…
TinaHeiligers 1e08998
Refactors tests, helpers and plugin to take delayed rendering into ac…
TinaHeiligers 473c1fd
Increase waitFor timeout more
TinaHeiligers d725990
Change data test subject
TinaHeiligers 81579c4
increase timeout even more
TinaHeiligers 8d1c8a2
Move nav click event into retry
TinaHeiligers 0f5277f
Merge branch 'main' into skipped-tests-app-leave-deep-links
kibanamachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,7 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide | |
const appsMenu = getService('appsMenu'); | ||
const testSubjects = getService('testSubjects'); | ||
|
||
// Failing: See https://github.com/elastic/kibana/issues/75963 | ||
// Failing: See https://github.com/elastic/kibana/issues/166838 | ||
describe.skip('application using leave confirmation', () => { | ||
describe('application using leave confirmation', () => { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test suite needed a complete overhaul to account for increased delays that various background tasks perform (ebt data collection, fleet setup etc). |
||
describe('when navigating to another app', () => { | ||
it('prevents navigation if user click cancel on the confirmation dialog', async () => { | ||
await PageObjects.common.navigateToApp('appleave1'); | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elastic/appex-sharedux I could use a hand in figuring out why tests using
appMenu.clickLink
fail in CI and pass locally. The most recent changes to relevant components seems to be withCollapsibleNav
but that was 4 months ago.The
appLeave
test failed because the modal wasn't visible.