Skip to content

Commit

Permalink
Refactoring FilterOnAdminAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
DemeSzabolcs committed May 20, 2024
1 parent e563b67 commit 8ab3135
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,6 @@ public static async Task FilterOnAdminAsync(this UITestContext context, string i

// Normally we would trigger filtering by pressing the "Enter" key. The filter submit button is hidden,
// so we have to use JS to click on it.
context.ExecuteScript("document.querySelector('#submitFilter').click();");
context.ExecuteScript("document.getElementById('submitFilter').click();");
}
}

0 comments on commit 8ab3135

Please sign in to comment.