Adapt to newer webdriver api

This commit is contained in:
Thomas Nordquist
2019-05-28 11:00:06 +02:00
parent 3c58164539
commit fe16eabb6b
17 changed files with 30 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
import { clickOn, sleep, writeText, expandTopic, moveToCenterOfElement } from '../util'
import { Browser } from 'webdriverio'
export async function clearOldTopics(browser: Browser<void>) {
export async function clearOldTopics(browser: Browser) {
const topics = ['hello', 'test 123']
for (const topic of topics) {
await expandTopic(topic, browser)