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 @@ -55,8 +55,8 @@ def skip_if_incorrect_env(self):
5555 print (message )
5656 self .skip (message )
5757 version = [int (i ) for i in __version__ .split ("." ) if i .isdigit ()]
58- if version < [2 , 4 , 0 ]:
59- message = "This test requires SeleniumBase 2.4.0 or newer!"
58+ if version < [2 , 4 , 2 ]:
59+ message = "This test requires SeleniumBase 2.4.2 or newer!"
6060 print (message )
6161 self .skip (message )
6262
@@ -79,9 +79,9 @@ def test_wordle(self):
7979 self .click (keyboard_base + button )
8080 button = 'button[data-key="↵"]'
8181 self .click (keyboard_base + button )
82- self .sleep (2 ) # Time for the animation
8382 row = 'game-app::shadow game-row[letters="%s"]::shadow ' % word
8483 tile = row + "game-tile:nth-of-type(%s)"
84+ self .wait_for_element (tile % "5" + '::shadow [data-state*="e"]' )
8585 letter_status = []
8686 for i in range (1 , 6 ):
8787 letter_eval = self .get_attribute (tile % str (i ), "evaluation" )
You can’t perform that action at this time.
0 commit comments