PromucFlow_constructor/app/client/cypress
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
..
fixtures fix: Set isMetaPropDirty property on widgets (#20613) 2023-02-15 10:49:32 +01:00
integration/Regression_TestSuite fix: Set isMetaPropDirty property on widgets (#20613) 2023-02-15 10:49:32 +01:00
locators feat: List V2 (#15839) 2023-02-14 17:07:31 +01:00
manual_TestSuite test: Appsmith upgrade tests (#20294) 2023-02-07 15:45:23 +05:30
patches test: Script updates for flaky fixes (#16143) 2022-08-24 19:53:41 +05:30
plugins Cypress version upgrade for timeout issue resolution (#15917) 2022-08-16 09:31:16 +05:30
snapshots/Smoke_TestSuite/ClientSideTests/VisualTests feat: editor header UI update (#19414) 2023-01-09 19:52:23 +05:30
support fix: Fetch app's current branch from redux store (#20601) 2023-02-15 11:21:33 +01:00
.eslintrc.json
apply-patches.js test: Script updates for flaky fixes (#16143) 2022-08-24 19:53:41 +05:30
cypress-docker-compose.yml
index.ts test: Automated few tests for AForce Migration scenarios + Flaky fixes (#12231) 2022-03-31 17:21:08 +05:30
init-mysql-dump-for-test.sql
init-pg-dump-for-test.sql
setup-test-ci.sh ci: run fat container docker inside perf tests and update setup-perf-test workflow to use localhost for accessing dev environment (#20280) 2023-02-07 15:56:41 +05:30
setup-test.sh test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
test.sh test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
tsconfig.json fix: rts version file moved to src (#15963) 2022-08-12 21:10:50 +05:30
xataadd.sh ci: Comment failing tests to PR (#18450) 2022-12-19 16:23:39 +05:30
xatadel.sh ci: Comment failing tests to PR (#18450) 2022-12-19 16:23:39 +05:30