-
Notifications
You must be signed in to change notification settings - Fork 20
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
Various UI and test fixes #528
Conversation
Tbaut
commented
Apr 9, 2024
•
edited
Loading
edited
- remove indexer logs
- remove Kilt indexer until someone says they want it
- fix copy tooltip not disappearing
- remove cy.clock that's useless in tests and close the banner manually instead
- silences a warning in the console
@@ -263,6 +263,9 @@ describe('Account address in the address bar', () => { | |||
|
|||
topMenuItems.desktopMenu().within(() => topMenuItems.networkSelector().click()) | |||
topMenuItems.networkSelectorOption('kusama').click() | |||
landingPage |
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.
@asnaith this actually made it so that it'd have failed earlier, I tested by removing my fix. It's better than having to wait 2s on purpose.
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.
Yep makes sense :)
|
||
cy.clock().then((clock) => { |
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.
this wasn't working. Adding the cy.clock before the cy.visit actually breaks everything, somehow, as the api calls don't get fired. All in all removing the clock
|
||
export const waitForMultisigLength = (length: number) => | ||
cy.waitUntil(() => { | ||
multisigPage.accountHeader().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.
this is doing a click outside basically, so that if any dropdown is open, it's close it.
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.
Sounds good, might be worth adding a small comment there about that so we remember why we are doing that.