Commit 4630a16
fix/cypress (#857)
## 📝 Pull Request Description
### 🔄 Changes
- The selectors in the `loginToAuth0` function were updated to correctly
target Auth0 input fields.
- The username and password fields are now selected using their IDs,
`#username` and `#password`, respectively.
- The submit button is now selected using
`button[type="submit"][name="action"]` and a case-insensitive check for
the text "continue".
### 🧪 Testing
- The updated login functionality was tested.
- Cypress end-to-end tests were used to verify successful login using
the updated selectors.
- All tests passed after the changes were implemented.
### 💥 Impact
- This change fixes a bug in the login functionality.
- The system's login process is now more robust and reliable.
- There is no performance impact.
### 📋 Checklist
- [ ] Code follows the project's coding standards
- [ ] Tests have been added/updated
- [ ] Documentation has been updated
- [ ] All tests are passing
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kunal Dawar <[email protected]>1 parent 9a10c78 commit 4630a16
File tree
3 files changed
+7
-5
lines changed- __tests__
- cypress/e2e
3 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments