mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix e2e test
This commit is contained in:
parent
4f0ae0a849
commit
f2becd9698
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user