mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 08:58:19 +01:00
Add mock test for a 413 response from v1/challenge
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user