selenium: Remove '☃' character (U+2603 snowman emoji) from random usernames
authorBartosz Dziewoński <matma.rex@gmail.com>
Fri, 29 Jun 2018 14:58:36 +0000 (16:58 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 29 Jun 2018 14:58:36 +0000 (16:58 +0200)
The AntiSpoof extension disallows this character in usernames, causing
tests to fail on some setups. Its error message claims it is an
"unassigned character" (which is false), but it seems it's
intentionally disallowed and the error message should instead say
"non-script character" or something.

Bug: T198384
Change-Id: Ia8e7b425b6a3cf3742c00178f28c97a19f46bab0

tests/selenium/wdio-mediawiki/Util.js

index fe1ebed..247c958 100644 (file)
@@ -1,5 +1,5 @@
 module.exports = {
        getTestString( prefix = '' ) {
-               return prefix + Math.random().toString() + '-Iñtërnâtiônàlizætiøn';
+               return prefix + Math.random().toString() + '-Iñtërnâtiônàlizætiøn';
        }
 };