Merge "Do not require titles on Special:ComparePages"
[lhc/web/wiklou.git] / tests / selenium / specs / page.js
index bc5f100..069a6aa 100644 (file)
@@ -11,7 +11,7 @@ describe( 'Page', function () {
                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 () {
@@ -63,11 +63,12 @@ describe( 'Page', 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 () {