Skip to content

Vcst 4685 fix test e 2 e switch between organizations after redesign#121

Open
Lenajava1 wants to merge 4 commits intodevfrom
VCST-4685-fix-test-e-2-e-switch-between-organizations-after-redesign
Open

Vcst 4685 fix test e 2 e switch between organizations after redesign#121
Lenajava1 wants to merge 4 commits intodevfrom
VCST-4685-fix-test-e-2-e-switch-between-organizations-after-redesign

Conversation

@Lenajava1
Copy link
Collaborator

No description provided.

Lenajava1 and others added 4 commits February 25, 2026 11:29
Clear the authenticated user's cart via GraphQL before UI interaction
in cart-related E2E tests. This prevents flaky failures when a previous
test run left items in the cart (e.g., due to failed cleanup or retries).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Switch selection checks from aria-checked attribute to CSS class
matching (vc-radio-button--checked) and click the item directly
instead of a nested input, matching the redesigned UI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ch scenarios

- Add test for adding shipping address as anonymous user
- Add test for adding shipping address as authenticated user with show more/search verification
- Fix organization ID resolution using pageContext get_me() instead of defaultOrganizationId
- Use ship_to.add_new_address_button inside dropdown instead of top header button for authenticated users
- Add address cleanup/restore steps for test isolation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove organization selection and verification steps, keep only search
and clear functionality. Remove redundant docstring and comments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant