PromucFlow_constructor/app/client/cypress/locators/SignupPage.json
Sagar Khalasi caf441072d
test: Admin setting new test cases with email (#38522)
## Description
New cypress test case for admin setting


Fixes #
https://app.zenhub.com/workspaces/stability-pod-6690c4814e31602e25cab7fd/issues/gh/appsmithorg/appsmith/38459

## Automation

/ok-to-test tags="@tag.Email"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13051349222>
> Commit: bf21450dc53423e7a001ae0591681c8b8b488b66
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13051349222&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Email`
> Spec:
> <hr>Thu, 30 Jan 2025 11:51:05 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Added comprehensive Cypress end-to-end tests for email settings
functionality.
	- Implemented tests for:
		- Adding new admin users
		- SMTP configuration
		- Password reset email verification
		- Workspace invitation emails

- **Locators**
	- Added new locators for SMTP settings and email-related UI elements.
	- Introduced password recovery link locator.

- **Improvements**
	- Enhanced email verification method in test support utilities.
	- Updated request header handling for more dynamic configuration.
- Introduced a new method to wait for specific emails based on subject
and recipient.
	- Expanded tagging functionality to include a new email-related tag.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-30 17:25:07 +05:30

11 lines
418 B
JSON

{
"username": "input[name='email']",
"password": "input[name='password']",
"submitBtn": "button[type='submit']",
"proficiencyGroupButton": "[data-testid='t--user-proficiency'] button",
"useCaseGroupButton": "[data-testid='t--user-use-case'] button",
"dropdownOption": ".rc-select-item-option:first",
"getStartedSubmit": ".t--get-started-button",
"forgetPasswordLink": "[href='/user/forgotPassword']"
}