Adapt to newer webdriver api
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user