From bde724924174777b73d5d8c0b44d10d3ddbb6204 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Fri, 29 Jun 2018 16:58:36 +0200 Subject: [PATCH] =?utf8?q?selenium:=20Remove=20'=E2=98=83'=20character=20(?= =?utf8?q?U+2603=20snowman=20emoji)=20from=20random=20usernames?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } }; -- 2.20.1