File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments