From 2a41017a789a9c0f871360bc99c10bc2d1b779c3 Mon Sep 17 00:00:00 2001 From: 0xtzData Date: Sun, 18 Aug 2024 21:11:32 +0200 Subject: [PATCH] fix --- tests/e2e/pages/NewHome.ts | 2 +- tests/e2e/tests/functional/Admin.test.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/e2e/pages/NewHome.ts b/tests/e2e/pages/NewHome.ts index 3c7bd708..526ca6cb 100644 --- a/tests/e2e/pages/NewHome.ts +++ b/tests/e2e/pages/NewHome.ts @@ -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) diff --git a/tests/e2e/tests/functional/Admin.test.ts b/tests/e2e/tests/functional/Admin.test.ts index e71c987a..0792a7e4 100644 --- a/tests/e2e/tests/functional/Admin.test.ts +++ b/tests/e2e/tests/functional/Admin.test.ts @@ -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`) @@ -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`)