Update Electron to 26.1.0
This commit is contained in:
@@ -219,8 +219,9 @@ describe('story/messaging', function unknownContacts() {
|
||||
debug('Create and send a story to the group');
|
||||
await window.getByRole('button', { name: 'Add a story' }).first().click();
|
||||
await window.getByRole('button', { name: 'Text story' }).click();
|
||||
await window.locator('.TextAttachment').click();
|
||||
await window.getByRole('textbox', { name: 'Add text' }).type('hello');
|
||||
// Note: For some reason `.click()` doesn't work here anymore.
|
||||
await window.locator('.TextAttachment').dispatchEvent('click');
|
||||
await window.getByRole('textbox', { name: 'Add text' }).fill('hello');
|
||||
await window.getByRole('button', { name: 'Next' }).click();
|
||||
await window
|
||||
.locator('.Checkbox__container')
|
||||
|
@@ -94,12 +94,13 @@ describe('story/no-sender-key', function needsName() {
|
||||
.click();
|
||||
|
||||
debug('Focusing textarea');
|
||||
await storiesCreator.locator('.TextAttachment__story').click();
|
||||
// Note: For some reason `.click()` doesn't work here anymore.
|
||||
await storiesCreator.locator('.TextAttachment').dispatchEvent('click');
|
||||
|
||||
debug('Entering text');
|
||||
await storiesCreator
|
||||
.locator('.TextAttachment__text__textarea')
|
||||
.type('123');
|
||||
.fill('123');
|
||||
|
||||
debug('Clicking "Next"');
|
||||
await storiesCreator
|
||||
|
Reference in New Issue
Block a user