Add mock test for a 413 response from v1/challenge
This commit is contained in:
parent
2a55bfbef9
commit
9efb046a06
10 changed files with 194 additions and 59 deletions
|
@ -22,6 +22,7 @@ import {
|
|||
import { stats } from '../../util/benchmark/stats';
|
||||
import { sleep } from '../../util/sleep';
|
||||
import { typeIntoInput } from '../helpers';
|
||||
import { MINUTE } from '../../util/durations';
|
||||
|
||||
const LAST_MESSAGE = 'start sending messages now';
|
||||
|
||||
|
@ -164,7 +165,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
|
|||
const item = window
|
||||
.locator(`.module-message >> text="${LAST_MESSAGE}"`)
|
||||
.first();
|
||||
await item.click();
|
||||
await item.click({ timeout: MINUTE });
|
||||
}
|
||||
|
||||
const deltaList = new Array<number>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue