From a6122f2c48a539ef70df6c0c9892d7df210aa7b6 Mon Sep 17 00:00:00 2001 From: Alexis Goodfellow Date: Sun, 11 Sep 2022 11:28:46 -0500 Subject: [PATCH] Change username test to something actually rejected --- test/integration/join.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/join.test.js b/test/integration/join.test.js index 12346eac5..937048b8c 100644 --- a/test/integration/join.test.js +++ b/test/integration/join.test.js @@ -79,7 +79,8 @@ describe('www-integration join flow', () => { test('username validation: bad word', async () => { let textInput = await findByXpath('//input[contains(@name, "username")]'); await textInput.click(); - await textInput.sendKeys('qnb02mclepghwic9'); + // Should be caught by the filter + await textInput.sendKeys('xxxxxxxxx'); await clickXpath('//div[@class = "join-flow-outer-content"]'); let message = await findByXpath('//div[contains(@class, "validation-error")]'); let messageText = await message.getText();