From 10bac1bcd62dc751818ccc305738469d80955506 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Wed, 10 Apr 2019 11:12:27 +0200 Subject: [PATCH] Fix topic expansion test helper --- src/spec/util/expandTopic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec/util/expandTopic.ts b/src/spec/util/expandTopic.ts index f72ab10..0cf897d 100644 --- a/src/spec/util/expandTopic.ts +++ b/src/spec/util/expandTopic.ts @@ -24,6 +24,6 @@ async function topicMatches(topics: string[], browser: Browser) { } function topicSelector(topics: string[]) { - const suffix = topics.map(topic => `*[contains(text(), "${topic}")]`).join('/../../..//') + const suffix = topics.map(topic => `*[contains(text(), "${topic}")]`).join('/../..//') return `//${suffix}` }