Skip to content

Integration Tests: Wait until cog is clickable before deleting row#310

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
spadgett:annotation-flake
Jul 26, 2018
Merged

Integration Tests: Wait until cog is clickable before deleting row#310
openshift-merge-robot merged 1 commit into
openshift:masterfrom
spadgett:annotation-flake

Conversation

@spadgett
Copy link
Copy Markdown
Member

@spadgett spadgett commented Jul 26, 2018

We delete the test resource immediately after closing the annotation dialog when the annotation tests are finished. Due to the closing animation, the modal overlay can prevent the cog from being clicked even though the cog is visible.

Change the check from until.visibilityOf to until.elementToBeClickable to wait until the cog is really clickable, not just on the screen.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 26, 2018
@spadgett
Copy link
Copy Markdown
Member Author

@alecmerdler This should fix the annotation test flake we've been seeing. (I think there are others, but this is the most frequent.)

@jhadvig If you could take a look, this should unblock the queue.

@spadgett spadgett requested a review from jhadvig July 26, 2018 00:33
Copy link
Copy Markdown
Member

@jhadvig jhadvig left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this ! Looks good 👍
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2018
@openshift-merge-robot openshift-merge-robot merged commit 9ec01ca into openshift:master Jul 26, 2018
@spadgett spadgett deleted the annotation-flake branch July 26, 2018 10:50
@spadgett
Copy link
Copy Markdown
Member Author

Unfortunately I'm seeing another related flake with the annotation tests. Looking...

rawagner pushed a commit to rawagner/console that referenced this pull request Apr 16, 2019
openshift-merge-bot Bot pushed a commit that referenced this pull request May 20, 2026
…310

   useShipwrightBreadcrumbsFor is a React hook (6 sub-hooks) that was
   incorrectly passed as a plain callback via the breadcrumbsFor prop to
   DetailsPage. ConnectedPageHeading calls breadcrumbsFor conditionally
   based on data loading state, violating React's Rules of Hooks. On
   OCP 4.20+, ConnectedPageHeading gained its own hooks, causing React to
   detect the hook count mismatch between renders and throw error #310:
   "Rendered more hooks than during the previous render."

Assisted by Claude Claude Opus 4.6
openshift-merge-bot Bot added a commit that referenced this pull request May 20, 2026
…investigation

OCPBUGS-84214: Fix Shipwright detail pages crashing with React error #310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants