Skip to content

Commit

Permalink
Fix registModel test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
thatblindgeye committed Jan 6, 2025
1 parent 78e9ecf commit ce0a962
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class SearchSelector extends SubComponentBase {
}

private findContextualItem(suffix: string): Cypress.Chainable<JQuery<HTMLElement>> {
return this.findScope().findByTestId(`${this.selectorId}-${suffix}`);
return this.findScope().document().findByTestId(`${this.selectorId}-${suffix}`);
}

findItem(name: string, useMenuList: boolean): Cypress.Chainable<JQuery<HTMLElement>> {
Expand Down

0 comments on commit ce0a962

Please sign in to comment.