Skip to content

Commit

Permalink
remove page pause
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Oct 29, 2024
1 parent cedf2a5 commit 0006c4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
1 change: 0 additions & 1 deletion e2e/specs/stateful/address.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 0 additions & 3 deletions e2e/specs/stateless/ownership.3LD.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down
13 changes: 4 additions & 9 deletions e2e/specs/stateless/ownership.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
Expand Down Expand Up @@ -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()
Expand All @@ -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',
Expand Down Expand Up @@ -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')

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -1143,7 +1139,6 @@ test.describe('Extend name', () => {

await ownershipPage.goto(name)
await login.connect()
await page.pause()

const timestamp = await ownershipPage.getExpiryTimestamp()

Expand Down
2 changes: 0 additions & 2 deletions e2e/specs/stateless/registerName.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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),
)
Expand Down

0 comments on commit 0006c4a

Please sign in to comment.