Disable Launch Your Store feature flag in 9.0 (#48231)

* update: lys feature flag off (#46852)

* Revert db update

---------

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
This commit is contained in:
Adrian Duffell 2024-06-07 04:11:31 +08:00 committed by GitHub
parent 8fc6970b90
commit 76d2b205e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 13 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Toggle LYS feature flag off for 9.0

View File

@ -34,7 +34,7 @@
"wc-pay-promotion": true,
"wc-pay-welcome-page": true,
"async-product-editor-category-field": false,
"launch-your-store": true,
"launch-your-store": false,
"product-editor-template-system": false
}
}

View File

@ -255,9 +255,6 @@ class WC_Install {
'8.9.1' => array(
'wc_update_891_create_plugin_autoinstall_history_option',
),
'9.0.0' => array(
'wc_update_900_add_launch_your_store_tour_option',
),
);
/**

View File

@ -2724,10 +2724,3 @@ function wc_update_891_create_plugin_autoinstall_history_option() {
}
}
}
/**
* Add woocommerce_show_lys_tour.
*/
function wc_update_900_add_launch_your_store_tour_option() {
add_option( 'woocommerce_show_lys_tour', 'yes' );
}

View File

@ -2,7 +2,7 @@ const { test, expect, request } = require( '@playwright/test' );
const { setOption } = require( '../../utils/options' );
const wcApi = require( '@woocommerce/woocommerce-rest-api' ).default;
test.describe( 'Launch Your Store - logged in', () => {
test.describe.skip( 'Launch Your Store - logged in', () => {
test.use( { storageState: process.env.ADMINSTATE } );
test.beforeEach( async ( { baseURL } ) => {

View File

@ -1,7 +1,7 @@
const { test, expect, request } = require( '@playwright/test' );
const { setOption } = require( '../../utils/options' );
test.describe( 'Launch Your Store front end - logged out', () => {
test.describe.skip( 'Launch Your Store front end - logged out', () => {
test.afterAll( async ( { baseURL } ) => {
try {
await setOption(