try fix tests s'more

pull/21833/head
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

@ -113,6 +113,7 @@ $dot-size: 12px;
animation: mx_Beta_bluePulse 2s infinite;
animation-iteration-count: 20;
position: relative;
pointer-events: none;
&::after {
content: "";

View File

@ -19,6 +19,7 @@ const { createSpace, inviteSpace } = require("../usecases/create-space");
module.exports = async function spacesScenarios(alice, bob) {
console.log(" creating a space for spaces scenarios:");
await alice.delay(1000); // wait for dialogs to close
await setupSpaceUsingAliceAndInviteBob(alice, bob);
};

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