mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 03:31:34 +00:00
a32999e641
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
32 lines
870 B
JavaScript
32 lines
870 B
JavaScript
'use strict';
|
|
|
|
const { iAmOnAPageThatHasTheFollowingEdits
|
|
} = require( '../features/step_definitions/create_page_api_steps' ),
|
|
{
|
|
iAmLoggedIntoTheMobileWebsite
|
|
} = require( '../features/step_definitions/common_steps' ),
|
|
{
|
|
iShouldSeeAddedContent, iShouldSeeRemovedContent
|
|
} = require( '../features/step_definitions/diff_steps' ),
|
|
{
|
|
iOpenTheLatestDiff,
|
|
iClickOnTheHistoryLinkInTheLastModifiedBar
|
|
} = require( '../features/step_definitions/history_steps' );
|
|
|
|
describe.skip( 'Page diff', () => {
|
|
it( 'Added and removed content', () => {
|
|
iAmLoggedIntoTheMobileWebsite();
|
|
iAmOnAPageThatHasTheFollowingEdits( {
|
|
rawTable: [
|
|
[ ' text ' ],
|
|
[ ' ABC DEF ' ],
|
|
[ ' ABC GHI ' ]
|
|
]
|
|
} );
|
|
iClickOnTheHistoryLinkInTheLastModifiedBar();
|
|
iOpenTheLatestDiff();
|
|
iShouldSeeAddedContent( 'GHI' );
|
|
iShouldSeeRemovedContent( 'DEF' );
|
|
} );
|
|
} );
|