mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 08:24:47 +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' );
|
|
} );
|
|
} );
|