Use more diverse unicode chars in basic browser tests
authorWMDE-Fisch <christoph.jauera@wikimedia.de>
Thu, 1 Feb 2018 08:52:10 +0000 (09:52 +0100)
committerWMDE-Fisch <christoph.jauera@wikimedia.de>
Wed, 13 Jun 2018 12:59:46 +0000 (14:59 +0200)
See comment in I3423011c467b0a6426cfa0dad522435618f24bd0
and https://mathiasbynens.be/notes/javascript-unicode#poo-test

Decided on using something more positive than a pile of poo though.

Change-Id: Ic34d0d78044cede71fd1cd8742214c117ed2e99f

tests/selenium/specs/page.js

index 5dbe84b..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 () {