Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtzData committed Aug 18, 2024
1 parent 0c6dc6e commit 2a41017
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/pages/NewHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export class NewHomePage extends CommonPage {
await this.actions.verifyElementIsDisplayed(`${this.BLOCKS_FIRST_ROW} >> nth=1 >> text=/\\d+/`)
await this.actions.verifyElementIsDisplayed(`${this.BLOCKS_FIRST_ROW} >> nth=2 >> text=/0x|\\w/`)
await this.actions.verifyElementIsDisplayed(`${this.BLOCKS_FIRST_ROW} >> nth=3 >> text=/\\d+/`)
await this.actions.verifyElementIsDisplayed(`${this.BLOCKS_FIRST_ROW} >> nth=4 >> text=/\\d+.*\\d+\\%.*\\d+\\%/`)
await this.actions.verifyElementIsDisplayed(`${this.BLOCKS_FIRST_ROW} >> nth=4 >> text=/\\d+.*/`)
await this.actions.verifyElementIsDisplayed(`${this.BLOCKS_FIRST_ROW} >> nth=5 >> text=/\\d+/`)

await this.actions.clickElement(this.RECENT_BLOCK_URL)
Expand Down
2 changes: 0 additions & 2 deletions tests/e2e/tests/functional/Admin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ test(`@Admin Create Public tag, bind to address and check`, async ({ adminPage,
await adminPage.actions.clickElement(`section >> nth=1 >> text=/^Public Tags/`)
await adminPage.actions.clickElement(`section >> nth=5 >> text=/Create new/`)
await adminPage.actions.enterElementText(`input[name="name"]`, publicTag)
await adminPage.actions.enterElementText(`input[name="slug"]`, slug)
await adminPage.actions.enterElementText(`input[name="ordinal"]`, `0`)
await adminPage.actions.clickElement(`input[id="react-select-4-input"]`)
await adminPage.actions.clickElement(`section >> nth=5 >> text=/classifier/ >> nth=1`)
Expand All @@ -149,7 +148,6 @@ test(`@Admin Create Public tag, bind to address and check`, async ({ adminPage,
await adminPage.actions.clickElement(`text=/Sepolia/`)
await adminPage.actions.enterElementText(`section >> nth=5 >> input >> nth=1`, bindAddress)
await adminPage.delay(1000)
await adminPage.actions.clickElement(`section >> nth=5 >> text=/0x/ >> nth=1`)
await adminPage.actions.enterElementText(`section >> nth=5 >> input >> nth=2`, publicTag)
await adminPage.delay(1000)
await adminPage.actions.clickElement(`section >> nth=5 >> text=/${publicTag}/ >> nth=1`)
Expand Down

0 comments on commit 2a41017

Please sign in to comment.