mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-03 02:06:43 +00:00
0311e8ed1c
Bug: T229031 Change-Id: I9bf37b796ba9ddafdc3be559e74d2b511c3e78b1
30 lines
855 B
JavaScript
30 lines
855 B
JavaScript
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' );
|
|
} );
|
|
} );
|