try fix tests s'more

This commit is contained in:
Michael Telatynski 2021-08-13 13:29:25 +01:00
parent f2becd9698
commit 5e38b8b3b3
3 changed files with 3 additions and 2 deletions

View file

@ -15,8 +15,7 @@ limitations under the License.
*/
async function openSpaceCreateMenu(session) {
// 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');
const spaceCreateButton = await session.query('.mx_SpaceButton_new');
await spaceCreateButton.click();
}