Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kshen0 committed Oct 11, 2023
1 parent 1f6ad00 commit 4b5418b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/mark-scan/frontend/src/app_cardless_voting.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ test('Cardless Voting Flow', async () => {
userEvent.click(screen.getByText('My Ballot is Correct'));

apiMock.setPaperHandlerState('ejecting_to_rear');
await screen.findByText('Casting Ballot');
await screen.findByText('Casting Ballot...');

apiMock.setAuthStatusLoggedOut();
await screen.findByText('Insert Card');
Expand Down Expand Up @@ -405,7 +405,7 @@ test('Voter can submit a blank ballot', async () => {
userEvent.click(screen.getByText('My Ballot is Correct'));

apiMock.setPaperHandlerState('ejecting_to_rear');
await screen.findByText('Casting Ballot');
await screen.findByText('Casting Ballot...');

apiMock.setAuthStatusLoggedOut();
await screen.findByText('Insert Card');
Expand Down Expand Up @@ -624,7 +624,7 @@ test('poll worker must select a precinct first', async () => {
userEvent.click(screen.getByText('My Ballot is Correct'));

apiMock.setPaperHandlerState('ejecting_to_rear');
await screen.findByText('Casting Ballot');
await screen.findByText('Casting Ballot...');

apiMock.setAuthStatusLoggedOut();
await screen.findByText('Insert Card');
Expand Down

0 comments on commit 4b5418b

Please sign in to comment.