Add Lightbox integration test
This commit is contained in:
parent
4f9d383180
commit
bdbc63ccf0
16 changed files with 343 additions and 85 deletions
|
@ -8,7 +8,7 @@ import { ReceiptType } from '@signalapp/mock-server';
|
|||
|
||||
import { Bootstrap, debug, RUN_COUNT, DISCARD_COUNT } from './fixtures';
|
||||
import { stats } from '../../util/benchmark/stats';
|
||||
import { typeIntoInput } from '../helpers';
|
||||
import { typeIntoInput, waitForEnabledComposer } from '../helpers';
|
||||
|
||||
const CONVERSATION_SIZE = 500; // messages
|
||||
|
||||
|
@ -86,7 +86,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
|
|||
const deltaList = new Array<number>();
|
||||
for (let runId = 0; runId < RUN_COUNT + DISCARD_COUNT; runId += 1) {
|
||||
debug('finding composition input and clicking it');
|
||||
const input = await app.waitForEnabledComposer();
|
||||
const input = await waitForEnabledComposer(window);
|
||||
|
||||
debug('entering message text');
|
||||
await typeIntoInput(input, `my message ${runId}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue