-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPS-125853 [Bug] Widget section doesn't appear when an AB testing is running in other experience #3507
Conversation
To conserve resources, the PR Tester does not automatically run for every pull. If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed. If your pull was never tested, comment "ci:test" to run the PR Tester for this pull. |
ci:test:sf |
✔️ ci:test:sf - 1 out of 1 jobs passed in 3 minutesClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: LPS-125853 1 Successful Jobs:For more details click here. |
Jenkins Build:test-portal-source-format#5199 |
ci:test:relevant |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7789 |
ci:forward |
CI is automatically triggering the following test suites:
The pull request will automatically be forwarded to the user
|
Skipping previously passed test suites: |
All required test suite(s) passed. |
Pull request has been successfully forwarded to brianchandotcom#98135 |
Description
When the user has several experiences but one of them has an A/B Test, some sidebars hide (Fragments and Widgets and Page Design Options) because the user cannot change the page during an active A/B Test. To do this, we check the permission
LOCKED_SEGMENTS_EXPERIMENT
.Steps to reproduce it
Solution
In the file
sidebarReducer.js
we specify that the default panel ID isfragments-widgets
:In this case, the experience (the one with the A/B Test) doesn't have that panel available and it's not able to render the first one available (Page Structure).
The solution proposed is create a function that retrieves the
panel
andsidebarPanelId
of the first available panel if the selected sidebar panel ID is not found.