-
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
[Fleet][Test] Add cypress test for force installing unverified package assets #138447
Conversation
Pinging @elastic/fleet (Team:Fleet) |
const installAnyway = cy.getBySel('confirmModalConfirmButton').contains('Install anyway'); | ||
installAnyway.click(); | ||
|
||
// cypress 'hack' to get all requests made to an intercepted request |
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.
Thanks for documenting this, it's not obvious
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.
Awesome stuff thank you for this!
5532d3d
to
589700c
Compare
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @hop-dev |
…e assets (elastic#138447) (cherry picked from commit 204bdb6)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…e assets (elastic#138447) (elastic#138558) (cherry picked from commit 204bdb6) Co-authored-by: Mark Hopkin <[email protected]>
Summary
part of #133822
Cypress test to assert that the force install modal appears when trying to install the assets of an unverified package.
also asserts that the package is force installed if the user elects to continue.