diff --git a/test/e2e/specs/onboarding/lifecycle__signup-onboarding-launch-cancel.ts b/test/e2e/specs/onboarding/lifecycle__signup-onboarding-launch-cancel.ts index 7d5ff95c302475..0f290d318e8293 100644 --- a/test/e2e/specs/onboarding/lifecycle__signup-onboarding-launch-cancel.ts +++ b/test/e2e/specs/onboarding/lifecycle__signup-onboarding-launch-cancel.ts @@ -84,16 +84,7 @@ describe( 'Lifecyle: Signup, onboard, launch and cancel subscription', function it( 'See secure payment', async function () { cartCheckoutPage = new CartCheckoutPage( page ); - try { - // Check for either the "Beginner" or "Starter" plan while the name change experiment is in progress. - await Promise.any( [ - cartCheckoutPage.validateCartItem( 'WordPress.com Beginner' ), - cartCheckoutPage.validateCartItem( `WordPress.com ${ newPlanName }` ), - ] ); - } catch ( error ) { - console.log( `Neither "Beginner" or "Starter" were found on the page.` ); - throw error; - } + await cartCheckoutPage.validateCartItem( `WordPress.com ${ newPlanName }` ); } ); it( 'Prices are shown in GBP', async function () { @@ -240,23 +231,11 @@ describe( 'Lifecyle: Signup, onboard, launch and cancel subscription', function it( 'View details of purchased plan', async function () { purchasesPage = new PurchasesPage( page ); - try { - // Check for either the "Beginner" or "Starter" plan while the name change experiment is in progress. - await Promise.any( [ - purchasesPage.clickOnPurchase( - 'WordPress.com Beginner', - newSiteDetails.blog_details.site_slug - ), - purchasesPage.clickOnPurchase( - `WordPress.com ${ newPlanName }`, - newSiteDetails.blog_details.site_slug - ), - ] ); - await purchasesPage.purchaseAction( 'Cancel plan' ); - } catch ( error ) { - console.log( `Neither "Beginner" nor "Starter" plan was found.` ); - throw error; - } + await purchasesPage.clickOnPurchase( + `WordPress.com ${ newPlanName }`, + newSiteDetails.blog_details.site_slug + ); + await purchasesPage.purchaseAction( 'Cancel plan' ); } ); it( 'Cancel plan renewal', async function () {