mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
4fa9adfc7d
The login test in Login.spec.ts has been updated to handle cases where the user credentials (email and password) are missing. Previously, the test would only check if the user is registered, but now it also checks if the registered user email and password are available. This change ensures that the test behaves correctly in all scenarios and improves the reliability of the login functionality.
136 lines
4.0 KiB
JSON
136 lines
4.0 KiB
JSON
{
|
|
"name": "@oneuptime/e2e",
|
|
"version": "1.0.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "@oneuptime/e2e",
|
|
"version": "1.0.0",
|
|
"hasInstallScript": true,
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@playwright/test": "^1.43.1",
|
|
"Common": "file:../Common",
|
|
"playwright": "^1.43.1",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.4"
|
|
}
|
|
},
|
|
"../Common": {
|
|
"name": "@oneuptime/common",
|
|
"version": "1.0.0",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/uuid": "^8.3.4",
|
|
"axios": "^1.7.2",
|
|
"crypto-js": "^4.1.1",
|
|
"json5": "^2.2.3",
|
|
"moment": "^2.30.1",
|
|
"moment-timezone": "^0.5.45",
|
|
"posthog-js": "^1.133.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"slugify": "^1.6.5",
|
|
"typeorm": "^0.3.20",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^8.0.2",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/node": "^17.0.22",
|
|
"jest": "^27.5.1",
|
|
"ts-jest": "^27.1.4"
|
|
}
|
|
},
|
|
"node_modules/@playwright/test": {
|
|
"version": "1.43.1",
|
|
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.43.1.tgz",
|
|
"integrity": "sha512-HgtQzFgNEEo4TE22K/X7sYTYNqEMMTZmFS8kTq6m8hXj+m1D8TgwgIbumHddJa9h4yl4GkKb8/bgAl2+g7eDgA==",
|
|
"dependencies": {
|
|
"playwright": "1.43.1"
|
|
},
|
|
"bin": {
|
|
"playwright": "cli.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
}
|
|
},
|
|
"node_modules/@types/node": {
|
|
"version": "20.10.4",
|
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.4.tgz",
|
|
"integrity": "sha512-D08YG6rr8X90YB56tSIuBaddy/UXAA9RKJoFvrsnogAum/0pmjkgi4+2nx96A330FmioegBWmEYQ+syqCFaveg==",
|
|
"dev": true,
|
|
"dependencies": {
|
|
"undici-types": "~5.26.4"
|
|
}
|
|
},
|
|
"node_modules/Common": {
|
|
"resolved": "../Common",
|
|
"link": true
|
|
},
|
|
"node_modules/fsevents": {
|
|
"version": "2.3.2",
|
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
|
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
|
"hasInstallScript": true,
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"engines": {
|
|
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
|
}
|
|
},
|
|
"node_modules/playwright": {
|
|
"version": "1.43.1",
|
|
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.43.1.tgz",
|
|
"integrity": "sha512-V7SoH0ai2kNt1Md9E3Gwas5B9m8KR2GVvwZnAI6Pg0m3sh7UvgiYhRrhsziCmqMJNouPckiOhk8T+9bSAK0VIA==",
|
|
"dependencies": {
|
|
"playwright-core": "1.43.1"
|
|
},
|
|
"bin": {
|
|
"playwright": "cli.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "2.3.2"
|
|
}
|
|
},
|
|
"node_modules/playwright-core": {
|
|
"version": "1.43.1",
|
|
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.43.1.tgz",
|
|
"integrity": "sha512-EI36Mto2Vrx6VF7rm708qSnesVQKbxEWvPrfA1IPY6HgczBplDx7ENtx+K2n4kJ41sLLkuGfmb0ZLSSXlDhqPg==",
|
|
"bin": {
|
|
"playwright-core": "cli.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
}
|
|
},
|
|
"node_modules/typescript": {
|
|
"version": "5.4.5",
|
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz",
|
|
"integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==",
|
|
"bin": {
|
|
"tsc": "bin/tsc",
|
|
"tsserver": "bin/tsserver"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.17"
|
|
}
|
|
},
|
|
"node_modules/undici-types": {
|
|
"version": "5.26.5",
|
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
|
|
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
|
|
"dev": true
|
|
}
|
|
}
|
|
}
|