Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
seaona
commented
May 23, 2024
| await connectAccountToTestDapp(driver); | ||
|
|
||
| await driver.switchToWindowWithTitle(WINDOW_TITLES.TestDApp); | ||
| await driver.findClickableElement('#createToken'); |
Member
Author
There was a problem hiding this comment.
the flaky test fails at this point - now we are removing completely this step as we use the deployed contract from fixtures
Collaborator
Builds ready [afaceac]
Page Load Metrics (1610 ± 610 ms)
Bundle size diffs
|
seaona
commented
May 23, 2024
|
|
||
| await connectAccountToTestDapp(driver); | ||
|
|
||
| await driver.switchToWindowWithTitle(WINDOW_TITLES.TestDApp); |
Member
Author
There was a problem hiding this comment.
we can skip these steps, since now we are already connected to the test dapp
7 tasks
danjm
approved these changes
May 23, 2024
chloeYue
approved these changes
May 23, 2024
Collaborator
|
Missing release label release-11.16.6 on PR. Adding release label release-11.16.6 on PR and removing other release labels(release-11.18.0), as PR was cherry-picked in branch 11.16.6. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR attempts to fix the flaky test
Migrate Opensea to Blockaid Banner @no-mmi Shows up on Token Approval transaction confirmationsThis test fails whenever we click Create Token for deploying an ERC20 token, as the popup is not triggered and we remain in the test dapp.
I haven't been able to reproduce this failure locally. However, after looking into the code and the context of flakiness, I can confirm that:
unknown accountand popup not being opened (see video below). However, those 2 steps are now removed from the test, meaning any potential race condition at this point won't happen anymorelogInWithBalanceValidationinstead of theunlockWalletto make sure the balance is loaded before triggering the interactionFor the above points, I have strong reasons for wanting to implement the changes on this PR, despite not being 100% sure of the above being the root cause.
Related issues
Fixes: another item of this list #24603
Manual testing steps
Screenshots/Recordings
This is not the test environment, however here I demonstrate how would look like if the create token is triggered before the dapp has the connected account resolved
unknown-accont.mp4
Pre-merge author checklist
Pre-merge reviewer checklist