We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9d290 commit f011419Copy full SHA for f011419
nested_admin/tests/admin_widgets/tests.py
@@ -391,8 +391,11 @@ def test_nested_autocomplete_extra(self):
391
self.assertTrue(select2_is_active)
392
select2_input = self.selenium.execute_script('return $(".select2-search__field")[0]')
393
self.assertIsNotNone(select2_input)
394
+ time.sleep(0.2)
395
select2_input.send_keys('l')
396
+ time.sleep(0.5)
397
select2_input.send_keys(Keys.ENTER)
398
399
self.assertEqual(select_field.get_attribute('value'), '2')
400
401
0 commit comments