mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 20:55:06 +08:00
moderate
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
||||
this
|
||||
.click('@moderateNav')
|
||||
.expect.section('@moderate').to.be.visible;
|
||||
return this.section.stories;
|
||||
return this.section.moderate;
|
||||
},
|
||||
goToStories() {
|
||||
this
|
||||
|
||||
@@ -16,8 +16,13 @@ module.exports = {
|
||||
},
|
||||
'user logs in': (client) => {
|
||||
const {testData: {user}} = client.globals;
|
||||
const embedStream = client.page.embedStream();
|
||||
const comments = client.page.embedStream().section.comments;
|
||||
|
||||
embedStream
|
||||
.navigate()
|
||||
.ready();
|
||||
|
||||
comments
|
||||
.openLoginPopup((popup) => popup.login(user));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user