Skip to content

Commit

Permalink
fix: Fixed tests text
Browse files Browse the repository at this point in the history
  • Loading branch information
josebui committed Oct 4, 2023
1 parent cc5df18 commit c9ae8b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storyMap/components/StoryMapInvite.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ test('StoryMapInvite: Invalid token', async () => {
await waitFor(() =>
expect(
within(screen.getByRole('alert')).getByText(
/Failed to accept Story Map invite/i
/Unable to accept Story Map invitation/i
)
).toBeInTheDocument()
);
Expand All @@ -144,7 +144,7 @@ test('StoryMapInvite: Different user token', async () => {

expect(
within(screen.getByRole('alert')).getByText(
/You do not have permission to accept this Story Map invite/i
/You can't accept this Story Map invitation. You must be logged in using the email address shown in the invitation/i
)
).toBeInTheDocument();

Expand Down

0 comments on commit c9ae8b0

Please sign in to comment.