Use typing helper in mock-tests
This commit is contained in:
parent
257813265c
commit
e96a1e4bc3
11 changed files with 83 additions and 89 deletions
|
@ -6,6 +6,7 @@ import { assert } from 'chai';
|
|||
import * as durations from '../../util/durations';
|
||||
import type { App, Bootstrap } from './fixtures';
|
||||
import { initStorage, debug } from './fixtures';
|
||||
import { typeIntoInput } from '../helpers';
|
||||
|
||||
describe('storage service', function (this: Mocha.Suite) {
|
||||
this.timeout(durations.MINUTE);
|
||||
|
@ -121,7 +122,7 @@ describe('storage service', function (this: Mocha.Suite) {
|
|||
);
|
||||
const input = composeArea.locator('[data-testid=CompositionInput]');
|
||||
|
||||
await input.type('hello stranger!');
|
||||
await typeIntoInput(input, 'hello stranger!');
|
||||
await input.press('Enter');
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue