Skip to content

Commit

Permalink
Merge pull request #10942 from hassnian/issue-10941
Browse files Browse the repository at this point in the history
fix: Collection interactions test
  • Loading branch information
vikiival authored Sep 6, 2024
2 parents aa95c2c + 93b7473 commit feae6ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/e2e/collection.spec.ts
Original file line number Diff line number Diff line change
@@ -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 }) => {
Expand All @@ -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',
)
})

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit feae6ae

Please sign in to comment.