Skip to content
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

Marketplace single product pages #1127

Merged
merged 9 commits into from
Jun 19, 2024
Merged

Marketplace single product pages #1127

merged 9 commits into from
Jun 19, 2024

Conversation

wpalani
Copy link
Member

@wpalani wpalani commented Jun 18, 2024

Proposed changes

This PR adds the necessary changes to the brand plugin that are needed by the Marketplace module to show the single product pages: newfold-labs/wp-module-marketplace#70

  • Bump Marketplace module to 2.3.0 which includes the new components and tests.
  • Pass down react-router-dom's useMatch and useNavigate methods to the module.

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Internal ticket: https://jira.newfold.com/browse/PRESS0-441

Copy link

cypress bot commented Jun 18, 2024

16 failed and 1 flaky tests on run #8751 ↗︎

16 370 58 2 Flakiness 1

Details:

Merge branch 'develop' into add/product-pages
Project: Bluehost Brand Plugin Commit: a0205f6c0b
Status: Failed Duration: 31:26 💡
Started: Jun 19, 2024 2:14 PM Ended: Jun 19, 2024 2:46 PM
Failed  vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Site-Capabilities/siteCapabilities.cy.js • 1 failed test

View Output Video

Test Artifacts
Verify Wondercart accessibility as per site capabilities > Verify clicking Install Now successfully installs Wonder Cart plugin Test Replay Screenshots Video
Failed  vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Store/storePage.cy.js • 1 failed test

View Output Video

Test Artifacts
Store Page- WooCommerce is deactivated/uninstalled > Verify that Payments tab is not displayed Test Replay Screenshots Video
Failed  vendor/newfold-labs/wp-module-performance/tests/cypress/integration/performance.cy.js • 5 failed tests

View Output Video

Test Artifacts
Performance Page > Is Accessible Test Replay Screenshots Video
Performance Page > Has Cache Settings Test Replay Screenshots Video
Performance Page > Has Clear Cache Settings Test Replay Screenshots Video
Performance Page > Clear Cache Disabled when Cache is Disabled Test Replay Screenshots Video
Performance Page > Clear Cache Button Functions Test Replay Screenshots Video
Failed  vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging-prod.cy.js • 7 failed tests

View Output Video

Test Artifacts
Staging Page - Production Environment > Is Accessible Test Replay Screenshots Video
Staging Page - Production Environment > Displays in Production Environment Properly Test Replay Screenshots Video
Staging Page - Production Environment > Errors as expected Test Replay Screenshots Video
Staging Page - Production Environment > Clone Works Test Replay Screenshots Video
Staging Page - Production Environment > Delete Works Test Replay Screenshots Video
Staging Page - Production Environment > Create Works Test Replay Screenshots Video
Staging Page - Production Environment > Switch Works Test Replay Screenshots Video
Failed  vendor/newfold-labs/wp-module-staging/tests/cypress/integration/staging-staging.cy.js • 2 failed tests

View Output Video

Test Artifacts
Staging Page - Staging Environmant > Displays staging environemnt properly Screenshots Video
Staging Page - Staging Environmant > Deploy Works Screenshots Video
Flakiness  vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/commerceHomePage.cy.js • 1 flaky test

View Output Video

Test Artifacts
Commerce Home Page- Next Steps > Verify Next steps when experience level is novice Test Replay Screenshots Video

Review all test suite changes for PR #1127 ↗︎

Even though this issue is not related to this PR. fixing it here anyway.
Copy link

cypress bot commented Jun 18, 2024

2 failed and 1 flaky tests on run #8740 ↗︎

2 384 58 2 Flakiness 1

Details:

Merge b3236e8 into 6e8d8bb...
Project: Bluehost Brand Plugin Commit: ee7f6c7ffa ℹ️
Status: Failed Duration: 26:36 💡
Started: Jun 18, 2024 9:12 PM Ended: Jun 18, 2024 9:39 PM
Failed  Site-Capabilities/siteCapabilities.cy.js • 1 failed test

View Output Video

Test Artifacts
Verify Wondercart accessibility as per site capabilities > Verify clicking Install Now successfully installs Wonder Cart plugin Test Replay Screenshots Video
Failed  Store/storePage.cy.js • 1 failed test

View Output Video

Test Artifacts
Store Page- WooCommerce is deactivated/uninstalled > Verify that Payments tab is not displayed Test Replay Screenshots Video
Flakiness  vendor/newfold-labs/wp-module-ecommerce/tests/cypress/integration/Home/commerceHomePage.cy.js • 1 flaky test

View Output Video

Test Artifacts
Commerce Home Page- Next Steps > Verify Next steps when experience level is novice Test Replay Screenshots Video

Review all test suite changes for PR #1127 ↗︎

@circlecube circlecube added this to the 3.12.0 milestone Jun 19, 2024
* develop:
  NPM(deps): Bump @wordpress/element from 5.35.0 to 6.1.0
  NPM(deps): Bump @wordpress/html-entities from 3.58.0 to 4.1.0
  Composer Dev(deps-dev): Bump wp-phpunit/wp-phpunit from 6.5.3 to 6.5.4
  NPM(deps): Bump @wordpress/dom-ready from 3.58.0 to 4.1.0
  NPM Dev(deps-dev): Bump @testing-library/cypress from 10.0.1 to 10.0.2

# Conflicts:
#	composer.lock
@circlecube
Copy link
Member

Noting that marketplace tests pass here, but e-commerce tests fail (but are fixed on another PR) performance and staging tests are failing. Assuming it's a fluke as because the app doesn't load, and all these tests are at the end and failing. Looks like something in onboarding caused issues, probably another plugin that was installed.

@circlecube circlecube merged commit 3aa27b2 into develop Jun 19, 2024
1 of 3 checks passed
@circlecube circlecube deleted the add/product-pages branch June 19, 2024 15:33
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