Skip to content

Commit

Permalink
Merge pull request #1016 from opencrvs/e2e/death
Browse files Browse the repository at this point in the history
feat: e2e - death
  • Loading branch information
Zangetsu101 authored Jun 14, 2024
2 parents e67f4d6 + 3665a26 commit 7bf799e
Show file tree
Hide file tree
Showing 16 changed files with 10,657 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ export const goToSection = async (
}
}

/*
Generates a random past date
at least 'minAge' years ago
and up to an additional 'range' days earlier
*/
export const getRandomDate = (minAge: number, range: number) => {
const randomDate = new Date()
randomDate.setDate(
Expand Down
Empty file removed e2e/testcases/death/.gitkeep
Empty file.
Loading

0 comments on commit 7bf799e

Please sign in to comment.