Add app screenshot generation

This commit is contained in:
Thomas Nordquist
2019-03-05 14:09:02 +01:00
parent 197781a4d8
commit 1f70c1ba3c
4 changed files with 6 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ export async function showMenu(browser: Browser<void>) {
// moveToCenterOfElement(brokerStatistics, browser)
await sleep(2000)
await browser.saveScreenshot('screen4.png')
const topicOrder = await browser.$('#select-node-order')
await clickOn(topicOrder, browser)
await sleep(1000)