Files
talk/tests/e2e/tests/Commenter/PostComment.js
T
2016-12-18 13:28:45 -03:00

24 lines
500 B
JavaScript

module.exports = {
'@tags': ['write', 'commenter'],
before: client => {
const embedStreamPage = client.page.embedStreamPage();
const {users} = client.globals;
embedStreamPage
.navigate()
.ready();
embedStreamPage
.login(users.commenter);
},
'Commenter posts a comment': client => {
const embedStreamPage = client.page.embedStreamPage();
embedStreamPage
.postComment('I read the comments');
},
after: client => {
client.end();
}
};