-
Notifications
You must be signed in to change notification settings - Fork 393
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
Change expected account name in NFTs tests to ENS domain #3494
Conversation
We have configured a ENS name for the `0x6f1b1f1feb01235e15a7962f16c389c7f8218ed6` address. We need to update the tests to reflect that.
e2e-tests/nfts.spec.ts
Outdated
@@ -80,7 +80,7 @@ test.describe("NFTs", () => { | |||
await page | |||
.getByTestId("nft_account_filters") | |||
.filter({ | |||
hasText: /^(Phoenix|Matilda|Sirius|Topa|Atos|Sport|Lola|Foz)$/, | |||
hasText: /^e2e\.testertesting\.eth$/, |
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.
let's add a const
variable for it so we can reuse that name easily
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.
See b270c29.
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.
I would move it to the utils file so every test will have access to that name 😄
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.
We're adding a `const` variable for the account name so that we can reuse it easily.
We're moving the account address and name to `utils`, so that they could be easily reused in other tests. We're numering the account, as likely there will be more acounts used in tests (different accounts may be needed for different purposes).
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.
✅
We have configured a ENS name for the
0x6f1b1f1feb01235e15a7962f16c389c7f8218ed6
address. We need to update the tests to reflect that.Latest build: extension-builds-3494 (as of Thu, 22 Jun 2023 14:20:28 GMT).