// check
assert.strictEqual( EditPage.heading.getText(), name );
- assert.strictEqual( EditPage.displayedContent.getText(), editContent );
+ // eslint-disable-next-line no-restricted-syntax
+ assert( EditPage.displayedContent.getText().includes( editContent ) );
} );
it( 'should have history @daily', function () {
// check
HistoryPage.open( name );
- assert.strictEqual( HistoryPage.comment.getText(), `(Created or updated page with "${content}")` );
+ assert.strictEqual( HistoryPage.comment.getText(), `Created or updated page with "${content}"` );
} );
it( 'should be deletable', function () {