Fix e2e test

This commit is contained in:
Michael Telatynski 2021-08-12 15:59:24 +01:00
parent 4f0ae0a849
commit f2becd9698

View File

@ -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();
}