name;
function getTestString( suffix = 'defaultsuffix' ) {
- return Math.random().toString() + '-öäü-♠♣♥♦-' + suffix;
+ return Math.random().toString() + '-Iñtërnâtiônàlizætiøn☃-' + suffix;
}
before( function () {
} );
// edit
- EditPage.edit( name, content );
+ let editContent = getTestString( 'editContent' );
+ EditPage.edit( name, editContent );
// check
assert.strictEqual( EditPage.heading.getText(), name );
- assert.strictEqual( EditPage.displayedContent.getText(), content );
+ assert.strictEqual( EditPage.displayedContent.getText(), editContent );
} );
it( 'should have history', function () {