Skip to content

Commit 87ff6bd

Browse files
Use By.CssSelector
1 parent c669b2b commit 87ff6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/test/E2ETest/Tests/QuickGridTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void CanCloseColumnOptions()
143143
firstNameColumnOptionsButton.Click();
144144

145145
// Click outside the column options to close
146-
grid.FindElement("tbody").Click();
146+
grid.FindElement(By.CssSelector("tbody")).Click();
147147

148148
var firstNameSearchSelector = "#grid > table > thead > tr > th:nth-child(2) input[type=search]";
149149
Browser.DoesNotExist(By.CssSelector(firstNameSearchSelector));

0 commit comments

Comments
 (0)