mediawiki-skins-MinervaNeue/tests/selenium/specs/user_page.js

22 lines
734 B
JavaScript
Raw Normal View History

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();
} );
} );