Skip to content

Commit 741e360

Browse files
committed
stateful test fix
1 parent c97d883 commit 741e360

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

e2e/specs/stateful/un-normalised-name.spec.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,16 @@ test.describe('Un-normalised Name Display', () => {
2121
).toBeVisible()
2222
})
2323

24-
test('should check un-normalised name is showing with warning @mainnet', async ({ page }) => {
24+
test('should check un-normalised name is not showing @mainnet', async ({ page }) => {
2525
// Enter ENS app
2626
await page.goto('/')
2727

2828
// Search address and enter page
2929
await page.goto(`/${address2}`)
3030
await expect(page.getByText('0x43e...ff441')).toBeVisible()
3131

32-
// Check it says X.eth and has un-normalised warning
33-
await expect(page.getByTestId('profile-snippet-name')).toHaveText('MetaMask.eth')
34-
await expect(page.getByTestId('profile-snippet').locator('text=Unnormalized name')).toHaveText(
35-
'Unnormalized name',
36-
)
32+
// Check no primary name is shown for unnormalised name
33+
await expect(page.getByTestId('profile-snippet-name')).not.toBeVisible()
3734

3835
// Check View Profile button isn't visible
3936
await expect(

0 commit comments

Comments
 (0)