From 14413f50ebafb65a331b75a95946fdea1a4c28bc Mon Sep 17 00:00:00 2001 From: amendelsohn Date: Wed, 1 May 2024 17:10:28 -0700 Subject: [PATCH] fix playwright edit collection test --- packages/web/e2e/editCollection.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/e2e/editCollection.test.ts b/packages/web/e2e/editCollection.test.ts index 840d4108c23..b308bd44e87 100644 --- a/packages/web/e2e/editCollection.test.ts +++ b/packages/web/e2e/editCollection.test.ts @@ -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() @@ -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