Skip to content

Commit

Permalink
Fix selectIndexPattern discover helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
nickofthyme committed Jan 7, 2020
1 parent 1a6f327 commit cbaa609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/page_objects/discover_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ export function DiscoverPageProvider({ getService, getPageObjects }) {
async selectIndexPattern(indexPattern) {
await testSubjects.click('indexPattern-switch-link');
await find.clickByCssSelector(
`[data-test-subj="indexPattern-switcher"] [title="${indexPattern}*"]`
`[data-test-subj="indexPattern-switcher"] [title="${indexPattern}"]`
);
await PageObjects.header.waitUntilLoadingHasFinished();
}
Expand Down

0 comments on commit cbaa609

Please sign in to comment.