Fix topic expansion test helper

This commit is contained in:
Thomas Nordquist
2019-04-10 11:12:27 +02:00
parent 8a5bd3526d
commit 10bac1bcd6

View File

@@ -24,6 +24,6 @@ async function topicMatches(topics: string[], browser: Browser<void>) {
} }
function topicSelector(topics: string[]) { function topicSelector(topics: string[]) {
const suffix = topics.map(topic => `*[contains(text(), "${topic}")]`).join('/../../..//') const suffix = topics.map(topic => `*[contains(text(), "${topic}")]`).join('/../..//')
return `//${suffix}` return `//${suffix}`
} }