PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/BugTests
Rudraprasad Das be436db2f4
fix: git discard message (#25138)
## Description
Discard message were conditionally not shown. It caused a bug when only
navigation settings were changed. Removed the condition to include the
message every-time.

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

#### Media

Before
<img width="1725" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/cc29a570-ef51-48af-9bb5-57cb9f26f7cb">


After
<img width="1728" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/31f543a2-f64b-4648-ba2f-2b5f3e452af3">




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

## Testing
>
#### How Has This Been Tested?
- [x] Manual
- [ ] Jest
- [x] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### 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
- [ ] 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:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] 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
- [ ] 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-07 10:48:53 +05:30
..
AbortAction_Spec.ts test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
AllWidgets_Reset_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
ApiBugs_Spec.ts test: Cypress - Flaky Fix (#24829) 2023-07-03 20:13:34 +05:30
Bug6732_Spec.ts
Bug9334_Spec.ts test: Cypress | Flaky fixes (#24581) 2023-06-18 10:25:16 +05:30
Bug14002_Spec.ts
Bug14987_spec.js test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Bug15056_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Bug15909_Spec.ts test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
Bug16702_Spec.ts test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Bug18035_Spec.ts
Bug18369_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
Bug19893_spec.ts
Bug19933_spec.ts
Bug19982_Spec.ts
Bug20275_Spec.js
Bug20841_Spec.ts test: Cypress version upgrade Cy 11.2 + Flaky fixes (#23667) 2023-05-24 18:00:39 +05:30
Bug21734_Spec.ts test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
Bug22281_WelcomeTour_spec.ts test: Cypress - temp fix to workaround flaky CreateNewApp_spec (#24956) 2023-06-30 22:04:12 +05:30
Bug24194_Spec.ts feat: Improve Linting performance (#23865) 2023-07-05 14:34:03 +01:00
CatchBlock_Spec.ts test: Cypress | Cy 12 upgrade + Flaky fixes (#23852) 2023-06-15 18:51:11 +05:30
DatasourceSchema_spec.ts
defaultFilterTextValue_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
DSDiscardBugs_spec.ts fix: cypress test added for forking critical issue (#24845) 2023-06-28 15:46:17 +05:30
formHasChanged_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
GitBugs_Spec.ts fix: git discard message (#25138) 2023-07-07 10:48:53 +05:30
InputTruncateCheck_Spec.ts test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
invalidLintError_Spec.ts
InvalidURL_Spec.ts test: Cypress | Flaky fixes (#24925) 2023-07-01 00:16:57 +05:30
JSParse_Spec.ts
Moment_Spec.ts test: Cypress | Simplifying AddDsl method (#24991) 2023-07-04 22:03:31 +05:30
MultipleOnPageLoadConfirmation_Spec.ts