Skip to content

Commit 13036a1

Browse files
committed
Fixed Check tags test case assert value
1 parent 70caf91 commit 13036a1

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed

CheckLinks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ public void init()
1515
[TestMethod]
1616
public static void CheckBasicLinks()
1717
{
18-
var followed = Driver.Instance.FindElement(By.LinkText("Followed Sites")).Enabled;
18+
var followed = Driver.Instance.FindElement(By.LinkText("Followed Sites"));
1919

20-
Assert.Equals(followed,"Followed Sites");
20+
Assert.AreEqual(followed.Text, "Followed Sites");
2121

2222

2323

bin/Debug/UnitTestProject1.dll

0 Bytes
Binary file not shown.

bin/Debug/UnitTestProject1.pdb

0 Bytes
Binary file not shown.

obj/Debug/UnitTestProject1.dll

0 Bytes
Binary file not shown.

obj/Debug/UnitTestProject1.pdb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)