PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide
srix b033fa71b5
fix: ShowAlert with same texts, when invoked from different triggers are combined (#25395)
## Description
The toaster component, part of the react design system, generates a
unique id for each toast. The id is generated based on a content string
and the options Json. When the content and options are identical,
duplicate ids are generated. Toaster ignores any toast with duplicate
IDs. Explicitly passing a unique id overrides the internal id generation
logic. This ensures that all toasters are displayed, even if the content
and options are identical.


#### PR fixes following issue(s)
Fixes #16135 

#### Media
None

#### Type of change
- Bug fix (non-breaking change which fixes an issue)


## Testing
>
#### How Has This Been Tested?
- [x ] Manual
- [ x] Cypress
>
>
#### Test Plan
cypress test case is defined in 

`app/client/cypress/e2e/Regression/ServerSide/JsFunctionExecution/PlatformFn_spec.ts/2.Bug
16135 ShowAlert with same texts, when invoked from different triggers
are combined
`

#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [x] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [x] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [x] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-07-20 14:34:30 +05:30
..
ActionExecution feat: query creation dumb templates replaced with smart templates (#24234) 2023-06-19 15:23:34 +05:30
ApiTests test: Cypress | Flaky Fixes (#25217) 2023-07-11 10:44:13 +05:30
Datasources test: Cypress | Flaky fixes (#25087) 2023-07-06 10:43:15 +05:30
GenerateCRUD test: Cypress | Flaky fix (#25179) 2023-07-07 23:28:16 +05:30
JsFunctionExecution fix: ShowAlert with same texts, when invoked from different triggers are combined (#25395) 2023-07-20 14:34:30 +05:30
LoginTests test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
MySQL_Datatypes test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
OnLoadTests test: Cypress - Gitea App Automation (#25144) 2023-07-11 22:09:13 +05:30
Params test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Postgres_DataTypes test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
QueryPane feat: activation phase 1 (#25126) 2023-07-12 12:12:16 +05:30