Attachment mock test: wait for draft attachment ready before send
This commit is contained in:
parent
7a9e51f5ad
commit
068dfbc327
3 changed files with 5 additions and 2 deletions
|
@ -65,6 +65,9 @@ describe('attachments', function (this: Mocha.Suite) {
|
|||
.setInputFiles(
|
||||
path.join(__dirname, '..', '..', '..', 'fixtures', 'cat-screenshot.png')
|
||||
);
|
||||
await page
|
||||
.locator('.module-image.module-staged-attachment .module-image__image')
|
||||
.waitFor();
|
||||
const input = await app.waitForEnabledComposer();
|
||||
await typeIntoInput(input, 'This is my cat');
|
||||
await input.press('Enter');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue