Merge pull request #27952 from woocommerce/fix/27950
restore shipping setup test
This commit is contained in:
commit
3bb94bc23f
|
@ -27,7 +27,7 @@ const runOnboardingFlowTest = () => {
|
||||||
|
|
||||||
const runTaskListTest = () => {
|
const runTaskListTest = () => {
|
||||||
describe('Store owner can go through setup Task List', () => {
|
describe('Store owner can go through setup Task List', () => {
|
||||||
it.skip('can setup shipping', async () => {
|
it('can setup shipping', async () => {
|
||||||
await page.evaluate(() => {
|
await page.evaluate(() => {
|
||||||
document.querySelector('.woocommerce-list__item-title').scrollIntoView();
|
document.querySelector('.woocommerce-list__item-title').scrollIntoView();
|
||||||
});
|
});
|
||||||
|
@ -37,7 +37,7 @@ const runTaskListTest = () => {
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
// Click on "Set up shipping" task to move to the next step
|
// Click on "Set up shipping" task to move to the next step
|
||||||
taskListItems[4].click(),
|
taskListItems[3].click(),
|
||||||
|
|
||||||
// Wait for shipping setup section to load
|
// Wait for shipping setup section to load
|
||||||
page.waitForNavigation({waitUntil: 'networkidle0'}),
|
page.waitForNavigation({waitUntil: 'networkidle0'}),
|
||||||
|
|
Loading…
Reference in New Issue