Enable Launch Your Store feature flag in 9.1 (#48244)
* Revert "Disable Launch Your Store feature flag in 9.0 (#48231)"
This reverts commit 76d2b205e5
.
* Re-add the previous changelog
* Update version number in db update
* Add changelog
This commit is contained in:
parent
8efb1d3c3d
commit
2583289197
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Toggle LYS feature flag on for 9.1
|
|
@ -34,7 +34,7 @@
|
|||
"wc-pay-promotion": true,
|
||||
"wc-pay-welcome-page": true,
|
||||
"async-product-editor-category-field": false,
|
||||
"launch-your-store": false,
|
||||
"launch-your-store": true,
|
||||
"product-editor-template-system": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -255,6 +255,9 @@ class WC_Install {
|
|||
'8.9.1' => array(
|
||||
'wc_update_891_create_plugin_autoinstall_history_option',
|
||||
),
|
||||
'9.1.0' => array(
|
||||
'wc_update_910_add_launch_your_store_tour_option',
|
||||
),
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
@ -2724,3 +2724,10 @@ function wc_update_891_create_plugin_autoinstall_history_option() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add woocommerce_show_lys_tour.
|
||||
*/
|
||||
function wc_update_910_add_launch_your_store_tour_option() {
|
||||
add_option( 'woocommerce_show_lys_tour', 'yes' );
|
||||
}
|
||||
|
|
|
@ -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.skip( 'Launch Your Store - logged in', () => {
|
||||
test.describe( 'Launch Your Store - logged in', () => {
|
||||
test.use( { storageState: process.env.ADMINSTATE } );
|
||||
|
||||
test.beforeEach( async ( { baseURL } ) => {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const { test, expect, request } = require( '@playwright/test' );
|
||||
const { setOption } = require( '../../utils/options' );
|
||||
|
||||
test.describe.skip( 'Launch Your Store front end - logged out', () => {
|
||||
test.describe( 'Launch Your Store front end - logged out', () => {
|
||||
test.afterAll( async ( { baseURL } ) => {
|
||||
try {
|
||||
await setOption(
|
||||
|
|
Loading…
Reference in New Issue