-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
component integration tests for watch status page #39509
component integration tests for watch status page #39509
Conversation
Pinging @elastic/es-ui |
cf3d9f4
to
9507ade
Compare
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
54dfd44
to
abd3339
Compare
💔 Build Failed |
Be sure to set |
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.
I really like the tests and the coverage provided. I ran through these manually while going through the code to see what scenarios are covered. I would suggest covering the editing a watch action. Just make sure that changing some info persists in the UI and updates the table. Something like that. Be glad to approve thereafter.
These tests are failing on CI with errors that look like this:
|
@silne30 thanks for the review! This PR is specifically for the watch status page (where you can view the execution history and actions). I previously created a test file for editing a watch. See: https://github.com/elastic/kibana/blob/watcher-port/x-pack/legacy/plugins/watcher/__jest__/client_integration/watch_edit.test.ts Do you think that is sufficient, or do you think there are other scenarios we should add? |
@cjcenizal that should be fixed now! there was a change in master that caused the failure. |
💔 Build Failed |
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.
OK. That makes sense. Since the Component Integration Tests are more about the components and less about E2E, I will make sure to add an issue to add a smoke level functional test for the between page interaction. We're good.
retest |
💔 Build Failed |
b8c3d07
to
6d1f081
Compare
💔 Build Failed |
6d1f081
to
286ff53
Compare
💚 Build Succeeded |
This PR adds component integration tests for the watch status page in watcher. All routes should have test coverage now.