From 999b9167fce5eabb3e44efe5ae4e0da415c1ddda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stankiewicz?= Date: Tue, 14 May 2024 13:48:51 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=BF=20Update=20add=20new=20network=20t?= =?UTF-8?q?est=20(#1162)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/docs/playwright/with-metamask.test.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/docs/playwright/with-metamask.test.ts b/packages/docs/playwright/with-metamask.test.ts index e4c189966..3dcb5e657 100644 --- a/packages/docs/playwright/with-metamask.test.ts +++ b/packages/docs/playwright/with-metamask.test.ts @@ -101,12 +101,8 @@ describe(`Browser: ${browserType.name()} with Metamask`, () => { const popupPage = await popupPromise await sleep(2000) // Wait for the popup to be fully loaded. - expect( - // if this link is visible, then the network does not match metamask records - await popupPage.isVisible(`//a[@href='https://metamask.zendesk.com/hc/en-us/articles/360057142392']`) - ).to.be.false - await popupPage.click(XPath.text('a', 'View all')) + await popupPage.click(XPath.text('a', 'View all details')) await waitForExpect(async () => { expect(await popupPage.isVisible(`//*[text()='${Optimism.chainName}']`)).to.be.true expect(await popupPage.isVisible(`//*[text()='${Optimism.rpcUrl}']`)).to.be.true