2018-04-10 21:35:50 +00:00
|
|
|
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' );
|
|
|
|
|
2019-07-25 18:16:48 +00:00
|
|
|
describe.skip( 'Page diff', () => {
|
2018-04-10 21:35:50 +00:00
|
|
|
it( 'Added and removed content', () => {
|
|
|
|
iAmLoggedIntoTheMobileWebsite();
|
|
|
|
iAmOnAPageThatHasTheFollowingEdits( {
|
|
|
|
rawTable: [
|
|
|
|
[ ' text ' ],
|
|
|
|
[ ' ABC DEF ' ],
|
|
|
|
[ ' ABC GHI ' ]
|
|
|
|
]
|
|
|
|
} );
|
|
|
|
iClickOnTheHistoryLinkInTheLastModifiedBar();
|
|
|
|
iOpenTheLatestDiff();
|
|
|
|
iShouldSeeAddedContent( 'GHI' );
|
|
|
|
iShouldSeeRemovedContent( 'DEF' );
|
|
|
|
} );
|
|
|
|
} );
|