Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Apr 29, 2024
1 parent 5145ed2 commit 12a7e1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/main.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ test.describe('demo', () => {

await Promise.all([
expect(dialog).not.toBeVisible(),
expect(h5pContainer).toHaveText('You have completed the map'),
expect(h5pContainer).toHaveText('1/17'),
expect(h5pContainer).toHaveText('Show solutions'),
expect(h5pContainer).toHaveText('Restart')
expect(h5pContainer).toContainText('You have completed the map'),
expect(h5pContainer).toContainText('1/17'),
expect(h5pContainer).toContainText('Show solutions'),
expect(h5pContainer).toContainText('Restart')
]);
});
});
Expand Down

0 comments on commit 12a7e1f

Please sign in to comment.