mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Fix e2e test
This commit is contained in:
parent
4f0ae0a849
commit
f2becd9698
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
async function openSpaceCreateMenu(session) {
|
||||
const spaceCreateButton = await session.query('.mx_SpaceButton_new');
|
||||
// click on the icon within otherwise puppeteer clicks on the flashing dot instead as its naive
|
||||
const spaceCreateButton = await session.query('.mx_SpaceButton_new .mx_SpaceButton_icon');
|
||||
await spaceCreateButton.click();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue