Skip to content

Conversation

asirvadAbrahamVarghese
Copy link
Contributor

@asirvadAbrahamVarghese asirvadAbrahamVarghese commented Aug 7, 2025

@miq-bot assign @jrafanie
@miq-bot add-label cypress
@miq-bot add-label test

@asirvadAbrahamVarghese asirvadAbrahamVarghese requested a review from a team as a code owner August 7, 2025 08:47
@asirvadAbrahamVarghese asirvadAbrahamVarghese changed the title [WIP] - Follow up works from https://github.com/ManageIQ/manageiq-ui-classic/pull/9516 [WIP] - Follow up works from #9516 Aug 7, 2025
@asirvadAbrahamVarghese asirvadAbrahamVarghese force-pushed the edit-collect-logs-form-cypress-refactor branch 2 times, most recently from 0e7439e to f4913f3 Compare August 8, 2025 13:24
@asirvadAbrahamVarghese
Copy link
Contributor Author

PR for intercept-and-wait logic that handles duplicate intercepts: #9552

@jrafanie
Copy link
Member

Close / open after revert of #9505 via #9553

@jrafanie jrafanie closed this Aug 13, 2025
@jrafanie jrafanie reopened this Aug 13, 2025
@asirvadAbrahamVarghese asirvadAbrahamVarghese force-pushed the edit-collect-logs-form-cypress-refactor branch from aff03dc to b45d49b Compare August 18, 2025 06:38
@asirvadAbrahamVarghese asirvadAbrahamVarghese force-pushed the edit-collect-logs-form-cypress-refactor branch from b45d49b to 1ba688b Compare August 19, 2025 03:55
@jrafanie
Copy link
Member

@asirvadAbrahamVarghese let me know when this is ready for review and out of WIP

@asirvadAbrahamVarghese
Copy link
Contributor Author

@jrafanie This should be good to review. There’s a chance it clashes with #9523, I’ll rebase if that gets merged first 👍

@asirvadAbrahamVarghese asirvadAbrahamVarghese changed the title [WIP] - Follow up works from #9516 Follow up works from #9516 Aug 19, 2025
// 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();
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Continuing the discussion here

Copy link
Member

@jrafanie jrafanie left a 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.

@jrafanie jrafanie merged commit 7b13181 into ManageIQ:master Aug 19, 2025
18 checks passed
@jrafanie
Copy link
Member

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.

@Fryguy
Copy link
Member

Fryguy commented Aug 21, 2025

Backported to spassky in commit 58b6475.

commit 58b64753501d8d1e31b3fcf286e4a03883dc17d5
Author: Joe Rafaniello <[email protected]>
Date:   Tue Aug 19 19:45:39 2025 -0400

    Merge pull request #9546 from asirvadAbrahamVarghese/edit-collect-logs-form-cypress-refactor
    
    Follow up works from #9516
    
    (cherry picked from commit 7b13181dda2eaa987bf80163f661897d5604cedb)

Fryguy pushed a commit that referenced this pull request Aug 21, 2025
…s-form-cypress-refactor

Follow up works from #9516

(cherry picked from commit 7b13181)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants