Revert "Beta mode cookie must be set on mobile domain"

This reverts commit 1903d1adae.
This didn't actually solve the problem.

Change-Id: Ic789e96dcc17268abe3690647e1d82a764491646
This commit is contained in:
Jdlrobson 2019-04-10 20:28:17 +00:00
parent 1903d1adae
commit dac9039246
2 changed files with 3 additions and 5 deletions

View file

@ -6,11 +6,6 @@ const iAmUsingTheMobileSite = () => {
};
const iAmInBetaMode = () => {
// running beta mode requires being on the mobile domain
iAmUsingTheMobileSite();
// and making sure the browser URL is set to the mobile domain by triggering a page load
ArticlePage.open( 'Page on the mobile domain' );
// Cookie will now set on mobile domain
ArticlePage.setBetaMode();
};

View file

@ -6,6 +6,7 @@ const { iClickOnTheCategoryButton,
iAmInAWikiThatHasCategories
} = require( '../features/step_definitions/create_page_api_steps' ),
{
iAmUsingTheMobileSite,
iAmOnPage, iAmInBetaMode
} = require( '../features/step_definitions/common_steps' );
@ -18,6 +19,8 @@ describe( 'Categories', function () {
iAmInAWikiThatHasCategories( title );
// And I am using the mobile site
iAmUsingTheMobileSite();
// And I am in beta mode
iAmInBetaMode();