Skip to content

Commit c669b2b

Browse files
Increase selector specificity
1 parent 971a7e4 commit c669b2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void CanOpenColumnOptions()
130130

131131
firstNameColumnOptionsButton.Click();
132132

133-
var firstNameSearchSelector = "thead > tr > th:nth-child(2) input[type=search]";
133+
var firstNameSearchSelector = "#grid > table > thead > tr > th:nth-child(2) input[type=search]";
134134
Browser.Exists(By.CssSelector(firstNameSearchSelector));
135135
}
136136

@@ -145,7 +145,7 @@ public void CanCloseColumnOptions()
145145
// Click outside the column options to close
146146
grid.FindElement("tbody").Click();
147147

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

0 commit comments

Comments
 (0)