mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Change username test to something actually rejected
This commit is contained in:
parent
6c146b738f
commit
a6122f2c48
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue