Skip to content

test(e2e): add Experience Workspace user toggle coverage - #1300

Merged
mhaack merged 4 commits into
mainfrom
ewte2e
Sep 7, 2026
Merged

test(e2e): add Experience Workspace user toggle coverage#1300
mhaack merged 4 commits into
mainfrom
ewte2e

Conversation

@mhaack

@mhaack mhaack commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Test:

Test plan

  • npm run test -- tests/usertoggle.spec.js (or npm run test:ui) against an environment with Experience Workspace enabled

Covers the /edit <-> /canvas redirect behavior (#1289,
#1290, #1299): first-time toggle-on shows the welcome dialog and sets
the nx2:ew-user-enabled flag, /edit keeps redirecting to /canvas while
the flag is set, and toggling off in the profile menu clears the flag
and stops the redirect.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@aem-code-sync

aem-code-sync Bot commented Sep 7, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

rofe
rofe previously approved these changes Sep 7, 2026
Comment thread blocks/edit/edit.js
@@ -1,3 +1,3 @@
import getPathDetails from '../shared/pathDetails.js';
import { contentLogin, livePreviewLogin } from '../shared/utils.js';
import { getNx, getNx2Api, getNxEWFlags } from '../../scripts/utils.js';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the unused import

@mhaack

mhaack commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

@rofe can you please re-approve, lint issue is now fixed, was trying out things

@mhaack
mhaack merged commit 7bbe8f2 into main Sep 7, 2026
5 checks passed
@mhaack
mhaack deleted the ewte2e branch September 7, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants