PromucFlow_constructor/app/client/src/pages/Templates/Template
Rahul Barwal f2c3125ce6
chore: adds automation for request templates component (#37140)
## Description
This was done manually by QA team. This unit test ensures that a valid
URL is present for requesting template and is opens correctly.


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

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

### 🔍 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/11592781616>
> Commit: 9a48f0593bee7d9e7e11c00b21e42106a6e1027f
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11592781616&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Templates`
> Spec:
> <hr>Wed, 30 Oct 2024 12:27:43 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

- **New Features**
- Introduced a new test suite for the `RequestTemplate` component to
validate its behavior and user interactions.
- `REQUEST_TEMPLATE_URL` and `RequestTemplateProps` are now exported for
use in other modules.

- **Bug Fixes**
- Enhanced testing to ensure correct message display and button
functionality within the `RequestTemplate`.

- **Documentation**
	- Updated import statements for better organization and clarity.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-01 15:18:41 +05:30
..
FixedHeightTemplate.tsx feat: improve templates listing page in start with templates flow (#29524) 2023-12-22 13:41:35 +05:30
index.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
RequestTemplate.test.tsx chore: adds automation for request templates component (#37140) 2024-11-01 15:18:41 +05:30
RequestTemplate.tsx chore: adds automation for request templates component (#37140) 2024-11-01 15:18:41 +05:30
SimilarTemplates.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TemplateCard.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TemplateDescription.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00