Skip to content

Commit

Permalink
reduce delay in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Oct 25, 2024
1 parent f3d68c0 commit 844a621
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ testing
testTableReportFunctionalTest
| firstColumn classNames |
self selectTest: 'WATableReportFunctionalTest'.
(Delay forSeconds: 1) wait.

(Delay forMilliseconds: 500) wait."Because it was failing on the CI for some older versions..."
firstColumn := driver findElementsByCSSSelector: 'table>tbody>tr>td:first-child'.
classNames := (firstColumn collect: [ :e | e getText ]).
((WAComponent allSubclasses collect: [ :c | c name greaseString ])
reject: [ :className | classNames includes: className ])
do: [ :className | Transcript show: className ].
self assert: ((WAComponent allSubclasses collect: [ :c | c name greaseString ]) allSatisfy: [ :className | classNames includes: className ]).

((driver findElementByCSSSelector: 'table>thead') findElementByPartialLinkText: 'Name') click.
Expand Down

0 comments on commit 844a621

Please sign in to comment.