PromucFlow_constructor/app/client/cypress/support/Pages
Favour Ohanekwu ff64f4d02f
fix: Fetch app's current branch from redux store (#20601)
## Description

### Cause of issue

Appsmith's persistent data is stored in the browser's localStorage under
a key generated using the `applicationId` and `branch name`. When
fetching the store's value on page load, if the branch's name is not
present in the URL string, its value defaults to an emptyString.

### Solution
Default value of `branch name` should be the current git branch.

Fixes #15692 
## Type of change

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


## How Has This Been Tested?
manual

### Test Plan
Cypress covers test case

### 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
- [ ] My code follows the style guidelines of this project
- [ ] 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
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [x] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [x] Added Test Plan Approved label after reveiwing all Cypress test
2023-02-15 11:21:33 +01:00
..
AppSettings feat: in-app embed settings (#19023) 2022-12-26 10:41:33 +05:30
AggregateHelper.ts feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
ApiPage.ts fix: Fix api url binding params (#18987) 2023-01-09 17:46:52 +05:30
DataSources.ts fix: Fix annoying error with text input control (#20411) 2023-02-10 17:41:17 +07:00
DebuggerHelper.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
DeployModeHelper.ts test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
EntityExplorer.ts chore: Revert "feat: move the widget creation CTA off the Entity explorer (#… (#20335) 2023-02-03 14:47:01 +06:00
FakerHelper.ts test: Script updates for flaky tests (#16631) 2022-09-12 09:48:44 +05:30
GitSync.ts fix: Fetch app's current branch from redux store (#20601) 2023-02-15 11:21:33 +01:00
HomePage.ts test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
InviteModal.ts feat: in-app embed settings (#19023) 2022-12-26 10:41:33 +05:30
JSEditor.ts test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
LibraryInstaller.ts feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
PropertyPane.ts feat: Feature/evaluated value window (#19972) 2023-02-09 16:39:54 +05:30
Table.ts test: Script updates for flaky tests (#16355) 2022-09-02 06:35:45 +05:30
TableV2.ts feat: Autoassigns column datatype in table widget (#16701) 2022-09-29 10:56:08 +05:30
Templates.ts fix: fork template button not visible on page refresh (#20388) 2023-02-10 11:41:35 +05:30