2020-04-17 21:55:45 +00:00
|
|
|
module.exports = {
|
|
|
|
simple: function () {
|
2024-05-21 14:22:56 +00:00
|
|
|
const done = arguments[ arguments.length - 1 ];
|
2020-04-17 21:55:45 +00:00
|
|
|
|
|
|
|
seleniumUtils.runDiffTest(
|
|
|
|
'<h2>Lorem ipsum</h2>' +
|
|
|
|
'<p>Lorem ipsum dolor sit <b>amet</b>, consectetur adipiscing elit.</p>',
|
|
|
|
'<h2>Lorem ipsum</h2>' +
|
|
|
|
'<p>Lorem ipsum dolor sit <i>amet</i>, consectetur adipiscing elit.</p>',
|
|
|
|
done
|
|
|
|
);
|
|
|
|
},
|
|
|
|
moveAndChange: function () {
|
2024-05-21 14:22:56 +00:00
|
|
|
const done = arguments[ arguments.length - 1 ];
|
2020-04-17 21:55:45 +00:00
|
|
|
|
|
|
|
seleniumUtils.runDiffTest(
|
|
|
|
'<h2>Lorem ipsum</h2>' +
|
|
|
|
'<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>' +
|
|
|
|
'<p>Maecenas fringilla turpis et nunc bibendum mattis.</p>',
|
|
|
|
'<h2>Lorem ipsum</h2>' +
|
|
|
|
'<p>Maecenas fringilla turpis et nunc bibendum mattis.</p>' +
|
|
|
|
'<p>Lorem ipsum dolor sit amat, consectetur adipiscing elit.</p>',
|
|
|
|
done
|
|
|
|
);
|
|
|
|
},
|
|
|
|
linkChange: function () {
|
2024-05-21 14:22:56 +00:00
|
|
|
const done = arguments[ arguments.length - 1 ];
|
2020-04-17 21:55:45 +00:00
|
|
|
|
|
|
|
seleniumUtils.runDiffTest(
|
|
|
|
'<h2>Lorem ipsum</h2>' +
|
|
|
|
'<p><a rel="mw:WikiLink" href="./Lipsum">Lorem ipsum</a> dolor sit amet, consectetur adipiscing elit.</p>',
|
|
|
|
'<h2>Lorem ipsum</h2>' +
|
|
|
|
'<p><a rel="mw:WikiLink" href="./Lorem ipsum">Lorem ipsum</a> dolor sit amet, consectetur adipiscing elit.</p>',
|
|
|
|
done
|
|
|
|
);
|
|
|
|
},
|
|
|
|
listChange: function () {
|
2024-05-21 14:22:56 +00:00
|
|
|
const done = arguments[ arguments.length - 1 ];
|
2020-04-17 21:55:45 +00:00
|
|
|
|
|
|
|
seleniumUtils.runDiffTest(
|
|
|
|
'<ul><li>Lorem</li><li>ipsum</li><li>dolor</li><li>sit</li><li>amet</li></ul>',
|
|
|
|
'<ul><li>Lorem</li><li>ipsum</li><li>sit</li><li>amat</li></ul>',
|
|
|
|
done
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|