From: Bartosz Dziewoński Date: Fri, 29 Jun 2018 14:58:36 +0000 (+0200) Subject: selenium: Remove '☃' character (U+2603 snowman emoji) from random usernames X-Git-Tag: 1.34.0-rc.0~4909^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=bde724924174777b73d5d8c0b44d10d3ddbb6204;p=lhc%2Fweb%2Fwiklou.git selenium: Remove '☃' character (U+2603 snowman emoji) from random usernames 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 --- diff --git a/tests/selenium/wdio-mediawiki/Util.js b/tests/selenium/wdio-mediawiki/Util.js index fe1ebed39f..247c9580e0 100644 --- a/tests/selenium/wdio-mediawiki/Util.js +++ b/tests/selenium/wdio-mediawiki/Util.js @@ -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'; } };