Skip to content
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

Merged
merged 5 commits into from
Apr 9, 2024
Merged

Various UI and test fixes #528

merged 5 commits into from
Apr 9, 2024

Conversation

Tbaut
Copy link
Collaborator

@Tbaut Tbaut commented Apr 9, 2024

  • 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
Copy link
Collaborator Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

Yep makes sense :)

@Tbaut Tbaut enabled auto-merge (squash) April 9, 2024 12:41
@Tbaut Tbaut requested a review from asnaith April 9, 2024 12:41

cy.clock().then((clock) => {
Copy link
Collaborator Author

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()
Copy link
Collaborator Author

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.

Copy link
Member

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.

@Tbaut Tbaut merged commit 1a8c156 into main Apr 9, 2024
8 checks passed
@Tbaut Tbaut deleted the tbaut-various-UI-fixes branch April 9, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants