-
Notifications
You must be signed in to change notification settings - Fork 365
Follow up works from #9516 #9546
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
Follow up works from #9516 #9546
Conversation
0e7439e
to
f4913f3
Compare
PR for intercept-and-wait logic that handles duplicate intercepts: #9552 |
aff03dc
to
b45d49b
Compare
b45d49b
to
1ba688b
Compare
@asirvadAbrahamVarghese let me know when this is ready for review and out of WIP |
// If the value is not default one(BLANK_VALUE), then setting it to blank | ||
if (currentValue !== dropdownBlankValue) { | ||
cy.wrap(selectField).select(dropdownBlankValue); | ||
cy.getFormFooterButtonByType(saveButton, 'submit').click(); |
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.
Similar comment to another PR... is saveButton the type and 'submit' the text or vice versa? We might need to rename the function at some point so it's more obvious to naive people like me which is which.
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.
Continuing the discussion here
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 just want to point out that this set of tests were sporadically failing and slow... It's too early to tell but I think the tests went from 50 seconds to 30 and I don't see any retries after you created and used shared functions that handle the waits on dom elements.
Awesome.
Adding spassky for test only changes. No need to diverge from master for these test improvements around sporadic failures and other best practices as we learn. |
Backported to
|
Use form element selector commands from: Add custom commands for selecting form elements #9537✅Extract shared intercept-and-wait logic that handles duplicate intercepts as recommended Edit collect logs form cypress refactor #9516 (comment)✅Add more detailed component testing if considered required per [WIP] - Added automated tests with cypress for Namespace form #9517✅@miq-bot assign @jrafanie
@miq-bot add-label cypress
@miq-bot add-label test