diff --git a/e2e/specs/stateful/address.spec.ts b/e2e/specs/stateful/address.spec.ts index 3997ab815..4fce98112 100644 --- a/e2e/specs/stateful/address.spec.ts +++ b/e2e/specs/stateful/address.spec.ts @@ -18,7 +18,6 @@ test('should go to the address page', async ({ page, login }) => { await page.goto('/') await login.connect() - await page.pause() await page .getByPlaceholder('Search for a name') .fill('0xFc5958B4B6F9a06D21E06429c8833f865577acf0') diff --git a/e2e/specs/stateless/ownership.3LD.spec.ts b/e2e/specs/stateless/ownership.3LD.spec.ts index 000cbef68..4c42a7288 100644 --- a/e2e/specs/stateless/ownership.3LD.spec.ts +++ b/e2e/specs/stateless/ownership.3LD.spec.ts @@ -34,7 +34,6 @@ test.describe('Unwrapped 3LD, Unwrapped 2LD - Parent Owner and Manager', () => { await ownershipPage.goto(subname) await login.connect() - await page.pause() await ownershipPage.sendNameButton.click() await sendNameModal.searchInput.fill(accounts.getAddress('user3')) await sendNameModal.searchResult(accounts.getAddress('user3')).click() @@ -1193,7 +1192,6 @@ test.describe('Wrapped 3LD, Unwrapped 2LD - Manager only', () => { await ownershipPage.goto(subname) await login.connect() - await page.pause() await ownershipPage.sendNameButton.click() await sendNameModal.searchInput.fill(accounts.getAddress('user3')) await sendNameModal.searchResult(accounts.getAddress('user3')).click() @@ -1390,7 +1388,6 @@ test.describe('Wrapped 3LD, Unwrapped 2LD - Parent only', () => { await ownershipPage.goto(subname) await login.connect() - await page.pause() await page.waitForTimeout(2000) await expect(ownershipPage.sendNameButton).toHaveCount(0) await expect(ownershipPage.editRolesButton).toHaveCount(0) diff --git a/e2e/specs/stateless/ownership.spec.ts b/e2e/specs/stateless/ownership.spec.ts index 332de2f35..890f57477 100644 --- a/e2e/specs/stateless/ownership.spec.ts +++ b/e2e/specs/stateless/ownership.spec.ts @@ -389,7 +389,7 @@ test.describe('Send name', () => { await expect(ownershipPage.roleRow(accounts.getAddress('user3'))).toContainText('manager', { timeout: 15000, }) - await page.pause() + await expect(ownershipPage.roleRow(accounts.getAddress('user2'))).toContainText('Parent owner') await expect(ownershipPage.roleRow(accounts.getAddress('user3'))).toContainText('ETH record') }) @@ -436,7 +436,6 @@ test.describe('Send name', () => { await profilePage.goto(subname) await login.connect() await expect(profilePage.record('text', 'nickname')).toContainText('test') - await page.pause() await ownershipPage.goto(subname) await ownershipPage.sendNameButton.click() @@ -460,7 +459,7 @@ test.describe('Send name', () => { await expect(ownershipPage.roleRow(accounts.getAddress('user3'))).toContainText('manager', { timeout: 15000, }) - await page.pause() + await expect(ownershipPage.roleRow(accounts.getAddress('user'))).toContainText('Parent owner') await expect(ownershipPage.roleRow('0x42D63ae25990889E35F215bC95884039Ba354115')).toContainText( 'ETH record', @@ -535,7 +534,7 @@ test.describe('Send name', () => { await expect(ownershipPage.roleRow(accounts.getAddress('user3'))).toContainText('manager', { timeout: 15000, }) - await page.pause() + await expect(ownershipPage.roleRow(accounts.getAddress('user2'))).toContainText('Parent owner') await expect(ownershipPage.roleRow(accounts.getAddress('user3'))).toContainText('ETH record') @@ -601,7 +600,6 @@ test.describe('Send name', () => { await sendNameModal.searchResult(accounts.getAddress('user3')).click() await sendNameModal.resetProfileSwitch.check() - await page.pause() // Should not be able to set owner because name is unwrapped // Should not be able to set eth record because user is not the manager // Should not be able to reset profile since old resolver does not support VersionableResolver @@ -682,7 +680,7 @@ test.describe('Edit roles: Happy ', () => { // Should not allow the manager to change the owner await expect(editRolesModal.roleCard('owner')).toHaveCount(0) await editRolesModal.roleCardChangeButton('manager').click() - await page.pause() + await editRolesModal.searchInput.fill(accounts.getAddress('user3')) await editRolesModal.searchResult(accounts.getAddress('user3')).click() await editRolesModal.saveButton.click() @@ -889,7 +887,6 @@ test.describe('Edit roles: Unwrapped subnames', () => { await ownershipPage.goto(subname) await login.connect() - await page.pause() await page.waitForTimeout(2000) await expect(ownershipPage.sendNameButton).toHaveCount(0) @@ -959,7 +956,6 @@ test.describe('Edit roles: Wrapped subnames', () => { await ownershipPage.goto(subname) await login.connect() - await page.pause() await ownershipPage.editRolesButton.click() await editRolesModal.roleCardChangeButton('manager').click() @@ -1143,7 +1139,6 @@ test.describe('Extend name', () => { await ownershipPage.goto(name) await login.connect() - await page.pause() const timestamp = await ownershipPage.getExpiryTimestamp() diff --git a/e2e/specs/stateless/registerName.spec.ts b/e2e/specs/stateless/registerName.spec.ts index 1b2209a93..d4ccb4326 100644 --- a/e2e/specs/stateless/registerName.spec.ts +++ b/e2e/specs/stateless/registerName.spec.ts @@ -388,7 +388,6 @@ test('should allow registering a name and resuming from the commit toast', async await page.goto(`/${name}/register`) await login.connect() - await page.pause() await page.getByTestId('payment-choice-ethereum').click() await page.getByTestId('primary-name-toggle').uncheck() await page.getByTestId('next-button').click() @@ -449,7 +448,6 @@ test('should allow registering with a specific date', async ({ page, login, make await calendar.fill(dateToDateInput(twoYearsAndHalfLater)) - await page.pause() await expect(page.getByTestId('calendar-date')).toHaveValue( dateToDateInput(twoYearsAndHalfLater), )