Automattic / wc-calypso-bridge

20 stars 4 forks source link

Moved logic to ensure launch-your-store feature is disabled in all plans #1485

Closed ilyasfoo closed 3 months ago

ilyasfoo commented 3 months ago

Changes proposed in this Pull Request:

Disables launch-your-store feature in all plans.

How to test the changes in this Pull Request:

If you don't have Creator plan on WoA

  1. Create a free site in wordpress.com.
  2. Add the site to WoA dev blog (link in peapX7-1D4-p2).
  3. Upgrade the site with Creator plan.

Testing instructions

  1. Open up /_cli.
  2. Run wpcomsh plugin use-unmanaged woocommerce
  3. Run plugin delete woocommerce
  4. Run plugin install --activate https://github.com/woocommerce/woocommerce/releases/download/9.0.0-rc.1/woocommerce.zip
  5. Run plugin install --activate https://github.com/woocommerce/woocommerce/releases/download/wc-beta-tester-2.3.1/woocommerce-beta-tester.zip
  6. Go to WooCommerce > Home
  7. Observe there's only one Launch your store task and no badge at top bar
  8. Go to Tools > WCA Test Helper > Features
  9. Try enabling launch-you-store but observe that you can't

Other information:

FOR PR REVIEWER ONLY:

github-actions[bot] commented 3 months ago

Size Change: 0 B

Total Size: 200 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `./build/53.js` | 1.08 kB | | `./build/index.css` | 883 B | | `./build/index.js` | 126 kB | | `./build/marketing.js` | 58 kB | | `./build/payment-gateway-suggestions.css` | 1.25 kB | | `./build/payment-gateway-suggestions.js` | 6.56 kB | | `./build/plugins.js` | 3.92 kB | | `./build/style-index.css` | 2.15 kB | | `./build/style-marketing.css` | 805 B |

compressed-size-action