Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

gblaih
Copy link
Contributor

@gblaih gblaih commented Apr 16, 2025

Excluding unprofiled samples oncoprint test is flaky due to mouse hovering effects. This attempts to stabilize that. Breadcrumbs test is still flaky, potentially due to reset charts button not being clicked. Added brief pause to let add charts button contents load.

@gblaih gblaih added the test label Apr 16, 2025
Copy link
Collaborator

@dippindots dippindots left a comment

Choose a reason for hiding this comment

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

LGTM

@gblaih gblaih force-pushed the e2e-oncoprint-and-breadcrumbs-test branch from 8bcfca9 to 241de48 Compare April 17, 2025 19:55
@gblaih gblaih self-assigned this Apr 21, 2025
function runResultsTestSuite(prefix, options = {}) {
it(`${prefix} render the oncoprint`, async function() {
await waitForOncoprint();
await (await getElement('body')).moveTo({ xOffset: 0, yOffset: 0 }); // move mouse out of the way
Copy link
Collaborator

Choose a reason for hiding this comment

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

@gblaih seems like this is redundant with checkElementWithMouseDisabled, no? so i mean, i just question whether this would really stabilize it give that we are already trying the same thing and it doesn't seem to work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yea I would think that checkElementWithMouseDisabled would remove the mouse effects the same way moving the mouse away would. but when testing I haven't ran into issues moving the mouse away. maybe checkElementWithMouseDisabled somehow is not reliable in clearing existing mouse effects

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we also have an existing function checkOncoprintElement that clears hover effects before it calls checkElementWithMouseDisabled so it may be known thatcheckElementWithMouseDisabled doesn't fully fix hover effects. maybe we can use this function instead

@alisman alisman merged commit f5e2956 into cBioPortal:master Apr 22, 2025
15 of 16 checks passed
@gblaih gblaih deleted the e2e-oncoprint-and-breadcrumbs-test branch April 22, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants