mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +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.
27 lines
824 B
JSON
27 lines
824 B
JSON
{
|
|
"name": "@oneuptime/e2e",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"preinstall": "npx playwright install-deps && npx playwright install",
|
|
"test": "playwright test || (curl $E2E_TESTS_FAILED_WEBHOOK_URL && exit 1)",
|
|
"dep-check": "npm install -g depcheck && depcheck ./ --skip-missing=true",
|
|
"clear-modules": "rm -rf node_modules && rm package-lock.json && npm install",
|
|
"compile": "tsc",
|
|
"debug-tests": "playwright test --debug"
|
|
},
|
|
"keywords": [],
|
|
"author": "OneUptime <hello@oneuptime.com> (https://oneuptime.com/)",
|
|
"license": "Apache-2.0",
|
|
"devDependencies": {
|
|
"@types/node": "^20.10.4"
|
|
},
|
|
"dependencies": {
|
|
"@playwright/test": "^1.43.1",
|
|
"Common": "file:../Common",
|
|
"playwright": "^1.43.1",
|
|
"typescript": "^5.4.5"
|
|
}
|
|
}
|