Skip to content

Commit

Permalink
naming things is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitdalal committed Sep 11, 2023
1 parent edae2f0 commit c700738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/note-images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit c700738

Please sign in to comment.