mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 00:56:24 +08:00
21 lines
464 B
JavaScript
21 lines
464 B
JavaScript
module.exports = {
|
|
'@tags': ['flag', 'comments', 'visitor'],
|
|
before: (client) => {
|
|
const embedStreamPage = client.page.embedStreamPage();
|
|
|
|
embedStreamPage
|
|
.navigate()
|
|
.ready();
|
|
},
|
|
'Visitor tries to flag a comment': (client) => {
|
|
const embedStreamPage = client.page.embedStreamPage();
|
|
|
|
embedStreamPage
|
|
.flagComment()
|
|
.waitForElementVisible('@signInDialog', 2000);
|
|
},
|
|
after: (client) => {
|
|
client.end();
|
|
}
|
|
};
|