From 93b7473eece9cf07c3ea0d8aab5f32f26b79fd62 Mon Sep 17 00:00:00 2001 From: hassnian Date: Fri, 6 Sep 2024 15:59:49 +0500 Subject: [PATCH] fix(collection.spec.ts): Collection interactions test replace collection with one with send events --- tests/e2e/collection.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/e2e/collection.spec.ts b/tests/e2e/collection.spec.ts index fad83f5a56..39d2d7dee3 100644 --- a/tests/e2e/collection.spec.ts +++ b/tests/e2e/collection.spec.ts @@ -1,7 +1,7 @@ import { expect, test } from './fixtures' -const COLLECTION_ADDRESS_PATH = '/ahp/collection/38/' -const COLLECTION_NAME = 'Pare1d0scope' +const COLLECTION_ADDRESS_PATH = '/ahp/collection/76/' +const COLLECTION_NAME = 'Assemblies' const COLLECTION_OWNER = '15CoYMEnJhhWHvdEPXDuTBnZKXwrJzMQdcMwcHGsVx5kXYvW' test('Collection interactions', async ({ page, Commands }) => { @@ -15,7 +15,7 @@ test('Collection interactions', async ({ page, Commands }) => { await page.getByTestId('description-show-less-more-button').click() // collection description await expect(page.getByTestId('collection-description')).toContainText( - 'Geometry', + 'robotic', ) }) @@ -69,13 +69,13 @@ test('Collection interactions', async ({ page, Commands }) => { await page.getByTestId('filter-checkbox-buynow').nth(1).click() await page .locator('[data-testid="search-bar-input"] >> visible = true') - .fill('34') + .fill('26') await page.keyboard.press('Enter') await Commands.scrollDownSlow() await expect( page.locator('[class="infinite-scroll-item"]').first(), ).toBeVisible() - await expect(page.getByTestId('nft-name')).toHaveText('Pare1d0scope #34') + await expect(page.getByTestId('nft-name')).toHaveText('Assemblies #26') }) // art view