mediawiki-skins-MinervaNeue/tests/selenium/specs/diff.js
jdlrobson 0311e8ed1c Disable diff test due to issue with RunJobs
Bug: T229031
Change-Id: I9bf37b796ba9ddafdc3be559e74d2b511c3e78b1
2019-07-25 18:38:05 +00:00

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