From c700738d27b903bbb8f55bca4abae76b115ea0d4 Mon Sep 17 00:00:00 2001 From: arpitdalal Date: Mon, 11 Sep 2023 11:18:44 -0400 Subject: [PATCH] naming things is hard --- tests/e2e/note-images.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/note-images.test.ts b/tests/e2e/note-images.test.ts index eccf4516f..85c179c44 100644 --- a/tests/e2e/note-images.test.ts +++ b/tests/e2e/note-images.test.ts @@ -76,9 +76,9 @@ test('Users can edit note image', async ({ page }) => { await page.getByRole('link', { name: 'Edit', exact: true }).click() const updatedImage = { altText: 'koala coder', - url: 'tests/fixtures/images/kody-notes/koala-coder.png', + location: 'tests/fixtures/images/kody-notes/koala-coder.png', } - await page.getByLabel('image').nth(0).setInputFiles(updatedImage.url) + await page.getByLabel('image').nth(0).setInputFiles(updatedImage.location) await page.getByLabel('alt text').nth(0).fill(updatedImage.altText) await page.getByRole('button', { name: 'submit' }).click()