mediawiki-skins-MinervaNeue/tests/selenium/specs/user_page.js
jdlrobson 544b0e70c9 Port remaining @login tests to Node.js
Bug: T219920
Change-Id: I9f651d73cae8d6494ffa585ac3cbd791686b926a
2019-04-11 21:17:45 +00:00

22 lines
734 B
JavaScript

const { iAmLoggedIntoTheMobileWebsite } = require( '../features/step_definitions/common_steps' ),
{ iVisitMyUserPage, iShouldBeOnMyUserPage, thereShouldBeALinkToMyUploads,
thereShouldBeALinkToMyContributions, thereShouldBeALinkToMyTalkPage
} = require( '../features/step_definitions/user_page_steps' );
// @chrome @firefox @login @test2.m.wikipedia.org @vagrant
describe( 'User:<username>', () => {
beforeEach( () => {
iAmLoggedIntoTheMobileWebsite();
iVisitMyUserPage();
} );
// </username>@en.m.wikipedia.beta.wmflabs.org
it( 'Check components in user page', () => {
iShouldBeOnMyUserPage();
thereShouldBeALinkToMyTalkPage();
thereShouldBeALinkToMyContributions();
thereShouldBeALinkToMyUploads();
} );
} );