mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Update mock tests to use locator.fill instead of .type
This commit is contained in:
@@ -117,11 +117,7 @@ describe('storage service', function (this: Mocha.Suite) {
|
||||
}
|
||||
|
||||
debug('Enter message text');
|
||||
const composeArea = window.locator(
|
||||
'.composition-area-wrapper, .Inbox__conversation .ConversationView'
|
||||
);
|
||||
const input = composeArea.locator('[data-testid=CompositionInput]');
|
||||
|
||||
const input = await app.waitForEnabledComposer();
|
||||
await typeIntoInput(input, 'hello stranger!');
|
||||
await input.press('Enter');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user