try fix tests s'more
This commit is contained in:
parent
f2becd9698
commit
5e38b8b3b3
3 changed files with 3 additions and 2 deletions
|
@ -113,6 +113,7 @@ $dot-size: 12px;
|
||||||
animation: mx_Beta_bluePulse 2s infinite;
|
animation: mx_Beta_bluePulse 2s infinite;
|
||||||
animation-iteration-count: 20;
|
animation-iteration-count: 20;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
|
|
|
@ -19,6 +19,7 @@ const { createSpace, inviteSpace } = require("../usecases/create-space");
|
||||||
module.exports = async function spacesScenarios(alice, bob) {
|
module.exports = async function spacesScenarios(alice, bob) {
|
||||||
console.log(" creating a space for spaces scenarios:");
|
console.log(" creating a space for spaces scenarios:");
|
||||||
|
|
||||||
|
await alice.delay(1000); // wait for dialogs to close
|
||||||
await setupSpaceUsingAliceAndInviteBob(alice, bob);
|
await setupSpaceUsingAliceAndInviteBob(alice, bob);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,7 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
async function openSpaceCreateMenu(session) {
|
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');
|
||||||
const spaceCreateButton = await session.query('.mx_SpaceButton_new .mx_SpaceButton_icon');
|
|
||||||
await spaceCreateButton.click();
|
await spaceCreateButton.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue