Skip to content

Commit dcea810

Browse files
committed
colspan
1 parent 2b9d171 commit dcea810

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dotnet/test/common/ElementAttributeTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,19 +280,19 @@ public void CanReturnATextApproximationOfTheStyleAttribute()
280280
Assert.That(style.ToLower(), Does.Contain("background-color"));
281281
}
282282

283+
[Test]
283284
public void ShouldCorrectlyReportValueOfColspan()
284285
{
285286
driver.Url = tables;
286-
System.Threading.Thread.Sleep(1000);
287287

288288
IWebElement th1 = driver.FindElement(By.Id("th1"));
289289
IWebElement td2 = driver.FindElement(By.Id("td2"));
290290

291291
Assert.That(th1.GetDomAttribute("id"), Is.EqualTo("th1"), "th1 id");
292-
Assert.That(th1.GetAttribute("colspan"), Is.EqualTo("3"), "th1 colspan should be 3");
292+
Assert.That(th1.GetDomAttribute("colspan"), Is.EqualTo("3"), "th1 colspan should be 3");
293293

294294
Assert.That(td2.GetDomAttribute("id"), Is.EqualTo("td2"), "td2 id");
295-
Assert.That(td2.GetAttribute("colspan"), Is.EqualTo("2"), "td2 colspan should be 2");
295+
Assert.That(td2.GetDomAttribute("colspan"), Is.EqualTo("2"), "td2 colspan should be 2");
296296
}
297297

298298
// This is a test-case re-creating issue 900.

0 commit comments

Comments
 (0)