Remove Launch Your Store Feature Flag (#46510)
* Enable launch-your-store feature flag * Add changelog
This commit is contained in:
parent
2d1ba5f7c4
commit
41b6310e3d
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: add
|
||||||
|
|
||||||
|
Coming soon mode and the Launch Your Store task.
|
|
@ -38,6 +38,6 @@
|
||||||
"wc-pay-promotion": true,
|
"wc-pay-promotion": true,
|
||||||
"wc-pay-welcome-page": true,
|
"wc-pay-welcome-page": true,
|
||||||
"async-product-editor-category-field": false,
|
"async-product-editor-category-field": false,
|
||||||
"launch-your-store": false
|
"launch-your-store": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
const { chromium, expect } = require( '@playwright/test' );
|
const { chromium, expect, request } = require( '@playwright/test' );
|
||||||
const { admin, customer } = require( './test-data/data' );
|
const { admin, customer } = require( './test-data/data' );
|
||||||
const fs = require( 'fs' );
|
const fs = require( 'fs' );
|
||||||
const { site } = require( './utils' );
|
const { site } = require( './utils' );
|
||||||
const wcApi = require( '@woocommerce/woocommerce-rest-api' ).default;
|
const wcApi = require( '@woocommerce/woocommerce-rest-api' ).default;
|
||||||
const { ENABLE_HPOS } = process.env;
|
const { ENABLE_HPOS } = process.env;
|
||||||
|
const { setOption } = require( './utils/options' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {import('@playwright/test').FullConfig} config
|
* @param {import('@playwright/test').FullConfig} config
|
||||||
|
@ -56,6 +57,9 @@ module.exports = async ( config ) => {
|
||||||
const adminPage = await adminContext.newPage();
|
const adminPage = await adminContext.newPage();
|
||||||
const customerPage = await customerContext.newPage();
|
const customerPage = await customerContext.newPage();
|
||||||
|
|
||||||
|
// Ensure live mode state (coming soon = no)
|
||||||
|
await setOption( request, baseURL, 'woocommerce_coming_soon', 'no' );
|
||||||
|
|
||||||
// Sign in as admin user and save state
|
// Sign in as admin user and save state
|
||||||
const adminRetries = 5;
|
const adminRetries = 5;
|
||||||
for ( let i = 0; i < adminRetries; i++ ) {
|
for ( let i = 0; i < adminRetries; i++ ) {
|
||||||
|
|
Loading…
Reference in New Issue