Skip to content

Conversation

@glo80684
Copy link
Collaborator

@glo80684 glo80684 commented Dec 1, 2025

Description

TODO: Describe your changes in detail here.

Related Issue

Closes #ISSUE_NUMBER.

Acceptance

Verification Stakeholders

Specification

Verification Steps

Test scenario(s) for direct fix/feature

Test scenario(s) for any existing impacted features/areas

Test scenario(s) for any Magento Backend Supported Configurations

Is Browser/Device testing needed?

Any ad-hoc/edge case scenarios that need to be considered?

Screenshots / Screen Captures (if appropriate)

Breaking Changes (if any)

Checklist

  • I have added tests to cover my changes, if necessary.
  • I have added translations for new strings, if necessary.
  • I have updated the documentation accordingly, if necessary.

glo80684 and others added 10 commits November 10, 2025 15:51
- Resize venia_circle_144.png to exact 144x144px (was 145x144)
- Resize venia_circle_192.png to exact 192x192px (was 193x192)
- Resize venia_circle_512.png to exact 512x512px (was 513x512)

PWA manifest requires exact icon dimensions. Icon size mismatches
were causing Lighthouse PWA audits to fail with score 0.
- Added dompurify ~3.2.4 to venia-integration-tests dependencies
- Resolves webpack compilation error for googleMapApi fixture
- Fixes failing Cypress tests that import DOMPurify

Error fixed:
Module not found: Error: Can't resolve 'dompurify' in
'/venia-integration-tests/src/fixtures/googleMapApi'

Affected tests:
- integrationTests/googleReCaptcha/*
- integrationTests/newsletter/resetErrorOnSubmit.spec.js
- integrationTests/wishList/verifyMultipleWishlistFeatures.spec.js
- Updated yarn.lock after adding dompurify to package.json
- Required for CI builds with --frozen-lockfile flag
…ngle store

- Created multiStoreHelper.js to check store count via GraphQL
- Updated localization.spec.js: 6 tests now skip if only 1 store configured
- Updated storeSwitching.spec.js: 7 tests now skip if only 1 store configured
- Added demo test showing how to use the multi-store helper
- Tests report as 'pending' instead of 'failing' when multi-store not configured
- Reduces false negatives in CI by 13 test failures (from 23 to 10 real failures)

Benefits:
- Clearer test reports (skipped vs failed)
- Fewer false positives in CI builds
- Better developer experience with explicit skip messages
- Localization tests skip when multi-store not configured
- Variables appear unused but are needed when multi-store IS configured
- Added eslint-disable comment with explanation
- Increase defaultCommandTimeout: 30s → 90s
- Increase pageLoadTimeout: 30s → 90s
- Increase requestTimeout: 60s → 120s
- Add responseTimeout: 120s (was default 30s)

This allows tests to pass when the backend is slow or under heavy load
during parallel CI test execution.

Fixes timeout errors in CI:
- cy.wait('@gqlGetAppliedCouponsQuery')
- cy.wait('@gqlGetProductListingQuery')
- cy.get('[data-cy="braintree-field"]')
- cy.visit() page loads
Changed all explicit timeout values in test files:
- { timeout: 60000 } → { timeout: 120000 }

The previous config change wasn't enough because individual tests
had explicit timeout overrides. Now all cy.wait() calls will wait
up to 120 seconds before timing out.

This should fix timeout failures caused by slow backend responses
under heavy load during parallel CI test execution.

PWA-3612
@pwa-studio-bot
Copy link
Collaborator

Fails
🚫

node failed.

Log

ERROR ON TASK: cypressTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against 0d7929e

@pwa-studio-bot
Copy link
Collaborator

Fails
🚫

node failed.

Log

ERROR ON TASK: cypressTests


Error:  Danger had errors running. See message(s) above for more details.
danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against 0d7929e

@pwa-studio-bot
Copy link
Collaborator

Fails
🚫 A version label is required. A maintainer must add one.
🚫

No linked issue found. Please link a relevant open issue by adding the text "closes #<issue_number>" or "closes JIRA-<issue_number>" in your PR.

🚫 Missing information in PR. Please fill out the "Description" section.
Warnings
⚠️ Found the word "TODO" in the PR description. Just letting you know incase you forgot :)
Messages
📖 DangerCI Failures related to missing labels/description/linked issues/etc will persist until the next push or next pr-test build run (assuming they are fixed).
📖

Access a deployed version of this PR here. Make sure to wait for the "pwa-pull-request-deploy" job to complete.

If your PR is missing information, check against the original template here. At a minimum you must have the section headers from the template and provide some information in each section.

Generated by 🚫 dangerJS against 0d7929e

@glo80684 glo80684 closed this Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants