Add Lightbox integration test

This commit is contained in:
Jamie Kyle 2024-09-09 15:43:59 -07:00 committed by GitHub
parent 4f9d383180
commit bdbc63ccf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 343 additions and 85 deletions

View file

@ -15,7 +15,11 @@ import { uuidToBytes } from '../../util/uuidToBytes';
import { MY_STORY_ID } from '../../types/Stories';
import { Bootstrap } from '../bootstrap';
import type { App } from '../bootstrap';
import { expectSystemMessages, typeIntoInput } from '../helpers';
import {
expectSystemMessages,
typeIntoInput,
waitForEnabledComposer,
} from '../helpers';
export const debug = createDebug('mock:test:messaging');
@ -259,7 +263,7 @@ describe('messaging/expireTimerVersion', function (this: Mocha.Suite) {
debug('Send message to merged contact');
{
const compositionInput = await app.waitForEnabledComposer();
const compositionInput = await waitForEnabledComposer(window);
await typeIntoInput(compositionInput, 'Hello');
await compositionInput.press('Enter');