Remove Launch Your Store Feature Flag (#46510)

* Enable launch-your-store feature flag

* Add changelog
This commit is contained in:
Adrian Duffell 2024-04-12 16:13:42 +08:00 committed by GitHub
parent 2d1ba5f7c4
commit 41b6310e3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: add
Coming soon mode and the Launch Your Store task.

View File

@ -38,6 +38,6 @@
"wc-pay-promotion": true,
"wc-pay-welcome-page": true,
"async-product-editor-category-field": false,
"launch-your-store": false
"launch-your-store": true
}
}

View File

@ -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 fs = require( 'fs' );
const { site } = require( './utils' );
const wcApi = require( '@woocommerce/woocommerce-rest-api' ).default;
const { ENABLE_HPOS } = process.env;
const { setOption } = require( './utils/options' );
/**
* @param {import('@playwright/test').FullConfig} config
@ -56,6 +57,9 @@ module.exports = async ( config ) => {
const adminPage = await adminContext.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
const adminRetries = 5;
for ( let i = 0; i < adminRetries; i++ ) {