Skip to content

Commit

Permalink
fix test expiration date (#11051)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor authored Jun 17, 2024
1 parent 60035a4 commit 30fe442
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/e2e/support/objects/app-files/share/collaborator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ export default class Collaborator {
},
{ newExpiryDate }
)
await page
.locator(
util.format(
Collaborator.expirationDatepickerDaySelect,
newExpiryDate.toISOString().split('T')[0]
)

const date = page.locator(
util.format(
Collaborator.expirationDatepickerDaySelect,
newExpiryDate.toISOString().split('T')[0]
)
.first()
.click()
)
await page.waitForTimeout(500)
await date.first().click()
}

static async removeExpirationDateFromCollaborator(
Expand Down

0 comments on commit 30fe442

Please sign in to comment.