We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 082388a commit ba7a354Copy full SHA for ba7a354
e2e/helpers.ts
@@ -97,7 +97,7 @@ export const openExpandersIfPresent = async (page: Page) => {
97
];
98
99
for (const title of expanderTitles) {
100
- const expander: Locator = page.getByText(title);
+ const expander: Locator = page.getByText(title, { exact: true });
101
if ((await expander.count()) > 0) {
102
await expander.click();
103
}
0 commit comments