Skip to content

Commit

Permalink
Fix date format in app.open() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
akdasa committed Dec 17, 2023
1 parent 77a32cf commit a503159
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/review/ReviewDeck.GradeButtons.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test.describe('Review Deck › Grade Buttons', () => {

await app.open()
await addCardsToReview(page, ['BG 1.1'])
await app.open(nextDays(1))
await app.open({ date: nextDays(1) })
await app.tabs.reviewTab.click()
})

Expand Down
2 changes: 1 addition & 1 deletion tests/review/ReviewDeck.SwipeCards.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test.describe('Review Deck › Swipe Cards', () => {
*/
test('Swipe all cards up', async () => {
// act:
await app.open(nextDays(1))
await app.open({ date: nextDays(1) })
await app.tabs.reviewTab.click()

await app.reviewDeck.swipeCardUp()
Expand Down

0 comments on commit a503159

Please sign in to comment.