mirror of
https://github.com/wassname/talk.git
synced 2026-07-08 16:17:09 +08:00
do not show admin drawer unless user has access
Fixes https://github.com/coralproject/talk/issues/1791
This commit is contained in:
@@ -30,6 +30,10 @@ module.exports = {
|
||||
.waitForElementVisible('@signOutButton')
|
||||
.click('@signOutButton');
|
||||
},
|
||||
login(user) {
|
||||
this.expect.section('@login').to.be.visible;
|
||||
return this.section.login.login(user);
|
||||
},
|
||||
navigateAndLogin(user) {
|
||||
this.navigate().expect.section('@login').to.be.visible;
|
||||
return this.section.login.login(user);
|
||||
|
||||
Reference in New Issue
Block a user