bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/chat/save.js
2018-11-22 17:20:06 -02:00

27 lines
490 B
JavaScript

// Test: Cleaning a chat message
const Page = require('../page');
const e = require('./elements');
const util = require('./util');
class Save extends Page {
constructor() {
super('chat-save');
}
async test() {
await util.openChat(this);
await this.click(e.chatOptions);
await this.click(e.chatSave, true);
await this.screenshot(true);
await this.screenshot(true);
await this.screenshot(true);
return true;
}
}
module.exports = exports = Save;