mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
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:
parent
1903d1adae
commit
dac9039246
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue