Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Sep 12, 2023
1 parent 0591c27 commit 09f3818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/EditArticle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('# EditArticle page', () => {
await server.waitForRequest('GET', '/api/articles/*')

await userEvent.type(getByPlaceholderText('Enter tags'), 'tag1{Enter}tag2{Enter}')
await userEvent.click(getByRole('button', { name: 'Remove tag: tag1' }))
await userEvent.click(getByRole('button', { name: 'Delete tag: tag1' }))

await fireEvent.click(getByRole('button', { name: 'Publish Article' }))

Expand Down
2 changes: 1 addition & 1 deletion src/pages/EditArticle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<i
role="button"
tabindex="0"
:aria-label="`Delete tag ${tag}`"
:aria-label="`Delete tag: ${tag}`"
class="ion-close-round"
@click="removeTag(tag)"
@keypress.enter="removeTag(tag)"
Expand Down

1 comment on commit 09f3818

@vercel
Copy link

@vercel vercel bot commented on 09f3818 Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue3-realworld-example-app – ./

vue3-realworld-example-app-git-master-mutoe.vercel.app
vue3-realworld-example-app-mutoe.vercel.app

Please sign in to comment.