Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EditCollection playwright test #8304

Merged
merged 1 commit into from
May 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/web/e2e/editCollection.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test('Change premium album price', async ({ page }) => {
const newPrice = startingPrice === '1' ? '2' : '1'

// Open Edit modal
await page.getByRole('button', { name: 'Edit collection' }).click()
await page.getByRole('button', { name: 'Edit Collection' }).click()
// Open access & sale modal
await page.getByRole('button', { name: /access & sale/i }).click()

Expand Down Expand Up @@ -51,7 +51,7 @@ test('Change premium album price', async ({ page }) => {
test('Cannot edit public album access to premium/hidden', async ({ page }) => {
await page.goto(PUBLIC_ALBUM)
// Open Edit modal
await page.getByRole('button', { name: 'Edit collection' }).click()
await page.getByRole('button', { name: 'Edit Collection' }).click()
// Open access & sale modal
await page.getByRole('button', { name: /access & sale/i }).click()
// Should have no options other than public
Expand Down