diff --git a/res/css/views/beta/_BetaCard.scss b/res/css/views/beta/_BetaCard.scss index 2af4e79ecd..0b805f05d6 100644 --- a/res/css/views/beta/_BetaCard.scss +++ b/res/css/views/beta/_BetaCard.scss @@ -113,6 +113,7 @@ $dot-size: 12px; animation: mx_Beta_bluePulse 2s infinite; animation-iteration-count: 20; position: relative; + pointer-events: none; &::after { content: ""; diff --git a/test/end-to-end-tests/src/scenarios/spaces.js b/test/end-to-end-tests/src/scenarios/spaces.js index 9cb5c02d0e..303db65593 100644 --- a/test/end-to-end-tests/src/scenarios/spaces.js +++ b/test/end-to-end-tests/src/scenarios/spaces.js @@ -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); }; diff --git a/test/end-to-end-tests/src/usecases/create-space.js b/test/end-to-end-tests/src/usecases/create-space.js index b2b58312c0..f1dbfa6b5a 100644 --- a/test/end-to-end-tests/src/usecases/create-space.js +++ b/test/end-to-end-tests/src/usecases/create-space.js @@ -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(); }