Skip to content

Commit

Permalink
E2E refactor to (mostly) not use sleep statements
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Dec 20, 2024
1 parent 5502a5d commit afa1850
Show file tree
Hide file tree
Showing 10 changed files with 1,148 additions and 398 deletions.
27 changes: 27 additions & 0 deletions packages/e2e-tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"devDependencies": {
"@quiet/eslint-config": "^2.0.2-alpha.0",
"@types/jest": "^29.2.6",
"@types/luxon": "^3.4.2",
"@types/selenium-webdriver": "^4.1.10",
"babel-jest": "^29.3.1",
"lint-staged": "^15.2.2",
Expand All @@ -38,6 +39,7 @@
"electron-chromedriver": "23.3.13",
"get-port": "^5.1.1",
"jest": "^29.4.2",
"luxon": "^3.4.4",
"path-browserify": "^1.0.1",
"selenium-webdriver": "^4.8.0",
"yargs": "^17.3.1"
Expand Down
23 changes: 23 additions & 0 deletions packages/e2e-tests/src/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,26 @@ export enum UploadedFileType {
IMAGE = 'IMAGE',
FILE = 'FILE',
}

export enum FileDownloadStatus {
QUEUED = 'QUEUED',
DOWNLOADING = 'DOWNLOADING',
DOWNLOADING_CAN_CANCEL = 'DOWNLOADING_CAN_CANCEL',
COMPLETED = 'COMPLETED',
CANCELED = 'CANCELED',
DOWNLOAD_FILE = 'DOWNLOAD_FILE',
}

export enum SettingsModalTabName {
INVITE = 'invite',
ABOUT = 'about',
NOTIFICATIONS = 'notifications',
QR_CODE = 'qr-code',
LEAVE_COMMUNITY = 'leave-community',
}

export enum PhotoExt {
GIF = 'gif',
JPEG = 'jpeg',
PNG = 'png',
}
Loading

0 comments on commit afa1850

Please sign in to comment.