Skip to content

Commit 882e494

Browse files
committed
Revert unrelated test.
1 parent eecf253 commit 882e494

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -64,30 +64,6 @@ public void NavMenuHighlightsCurrentLocation()
6464
item => Assert.Equal("Home", item.Text.Trim()));
6565
}
6666

67-
[Fact]
68-
public void NavMenuWithMatchLinkAllHighlightsCurrentLocationIgnoringQueryAndFragment()
69-
{
70-
var activeNavLinksSelector = By.CssSelector(".sidebar a.active");
71-
var mainHeaderSelector = By.TagName("h1");
72-
73-
// Verify we start at home, with the home link highlighted
74-
Assert.Equal("Hello, world!", Browser.Exists(mainHeaderSelector).Text);
75-
Assert.Collection(Browser.FindElements(activeNavLinksSelector),
76-
item => Assert.Equal("Home", item.Text.Trim()));
77-
78-
// Navigate to Home page with an ignorable query
79-
Navigate("/?CourseId=123456");
80-
var collection1 = Browser.FindElements(activeNavLinksSelector);
81-
Assert.Collection(collection1,
82-
item => Assert.Equal("Home", item.Text.Trim()));
83-
84-
// Navigate to Home page with an ignorable fragment
85-
Navigate("/#section-123456");
86-
var collection2 = Browser.FindElements(activeNavLinksSelector);
87-
Assert.Collection(collection2,
88-
item => Assert.Equal("Home", item.Text.Trim()));
89-
}
90-
9167
[Fact]
9268
public void HasCounterPage()
9369
{

0 commit comments

Comments
 (0)