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

@@ -5,7 +5,7 @@ export async function showNumericPlot(browser: Browser<void>) {
await expandTopic('livingroom/temperature', browser)
await clickOnHistory(browser)
await browser.saveScreenshot('screen2.png')
await sleep(1000)
await expandTopic('livingroom/humidity', browser)
}