Automattic / wc-calypso-bridge

20 stars 4 forks source link

Exclude LYS coming soon page for WPCOM share link #1501

Closed chihsuan closed 2 months ago

chihsuan commented 2 months ago

Changes proposed in this Pull Request:

Closes https://github.com/Automattic/wc-calypso-bridge/issues/1499.

Add a filter to exclude LYS coming soon page for WPCOM share link

How to test the changes in this Pull Request:

  1. Use a WPCOM atomic e-commerce site
  2. Enable LYS feature flag
  3. Go to https://wordpress.com/settings/general/SITE_URL and enable WPCOM coming soon
  4. Go to /wp-admin/admin.php?page=wc-settings&tab=site-visibility and enable LYS coming soon
  5. Open the site frontend in an incognito window and confirm that the LYS coming soon page is shown
  6. Enable WPCOM share link and use the share link to open the site in an incognito window
  7. Confirm that the LYS coming soon page is not shown
  8. Confirm that you can use LYS private link to bypass coming soon mode

Other information:

FOR PR REVIEWER ONLY: