-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add expected conditions 1827 #1865
Add expected conditions 1827 #1865
Commits on Jun 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a6735c - Browse repository at this point
Copy the full SHA 5a6735cView commit details
Commits on Nov 11, 2023
-
Added dynamic and delayed title change as initial test framework for
expected conditions
Configuration menu - View commit details
-
Copy full SHA for 583c9e6 - Browse repository at this point
Copy the full SHA 583c9e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc60e23 - Browse repository at this point
Copy the full SHA fc60e23View commit details -
Initial (working) prototype of wait for.. keyword
Wanted to just throw out a sample test case, test application (page), and a working keyword. Interesting this works at a very basic level. See next paths for a few functionality like - instead of snake_case create method for using "space case" - add check for presence of method - add polling delay, timeout - ...?
Configuration menu - View commit details
-
Copy full SHA for 2b10abf - Browse repository at this point
Copy the full SHA 2b10abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb49c98 - Browse repository at this point
Copy the full SHA eb49c98View commit details -
Moved previous expected condition tests out of current test suite
These were some initial sketches for the keywords and their usage. As they are not working I have moved them out of the test suite.
Configuration menu - View commit details
-
Copy full SHA for 129e9b0 - Browse repository at this point
Copy the full SHA 129e9b0View commit details -
Adding another sample tests and modifying keyword behavior
- Added 100 millisecond polling to wait. Seems like a good default. Will need to decide on how to let users set this. - Copied dynamic_content.html making into seperate expected_conditions.html test page. - Added another sample test case
Configuration menu - View commit details
-
Copy full SHA for 36e7da3 - Browse repository at this point
Copy the full SHA 36e7da3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48376f7 - Browse repository at this point
Copy the full SHA 48376f7View commit details
Commits on Nov 15, 2023
-
added timeout argument to keyword wait_for_expected_condition
Added timeout atest
Configuration menu - View commit details
-
Copy full SHA for 3083459 - Browse repository at this point
Copy the full SHA 3083459View commit details
Commits on Nov 22, 2023
-
Merge pull request #3 from yuriverweij/feature/add_expected_condition…
…s_1827 added timeout argument to keyword wait_for_expected_condition
Configuration menu - View commit details
-
Copy full SHA for 754e793 - Browse repository at this point
Copy the full SHA 754e793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d8f89 - Browse repository at this point
Copy the full SHA 98d8f89View commit details
Commits on Jan 18, 2024
-
Basic working keyword for wait
Made a few changes .. - Catch unknown expoected conditions and reopport an error. This can still be improved by adding a here are the known expected conditions as well as a "did you mean ..." type message - Brought in parser so one can use `Element To Be Clickable` instead of `element_to_be_clicable`. Admittedly it seems to simple and realized an issue, of case, as I type this. - Added some test cases
Configuration menu - View commit details
-
Copy full SHA for 7ad5296 - Browse repository at this point
Copy the full SHA 7ad5296View commit details
Commits on Jan 19, 2024
-
Added test case for capitals within expected condition name
Hadn't realized I do force the expected condition ame to all lower case letters. So just needed to add a test case!
Configuration menu - View commit details
-
Copy full SHA for b022031 - Browse repository at this point
Copy the full SHA b022031View commit details
Commits on Jan 21, 2024
-
Added example test where expected condition expected "locator" tuple
Some of the expected conditions expect a locator which is a tuple consisting of the By string [1] and the string containing the locator. I wanted to see what this was like. I am thinking that it would be good to somehow use the libraries locator strategy. Needed to also add to the test page so we had a new element after a delay. [1] https://www.selenium.dev/selenium/docs/api/py/_modules/selenium/webdriver/common/by.html#By
Configuration menu - View commit details
-
Copy full SHA for d23700e - Browse repository at this point
Copy the full SHA d23700eView commit details
Commits on Mar 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7bdca3c - Browse repository at this point
Copy the full SHA 7bdca3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd05dfd - Browse repository at this point
Copy the full SHA bd05dfdView commit details
Commits on Apr 3, 2024
-
Made unit test compatible to both Selenium v4.17.2 and above as well as v4.16.0 and prior
Configuration menu - View commit details
-
Copy full SHA for fd751bb - Browse repository at this point
Copy the full SHA fd751bbView commit details -
Reduced the timeout on the expected timeout within expected conditions
The delay for the title change was 600 miliseconds while the timeout was 0.5 seconds. I suspect this gives little time for error. The 600 milisecond timeout was specifically choosen along with the other timeouts in the expected conditions tests such that any combination of delays would be unique. This gives us a framework to test various combinations. So I didn't want to change that. Noting I could simply swap the 600 millisecond test for the 900 millisecond tes .. which might be the best bet. But for now trying to reduce the timeout to 0.3 seconds.
Configuration menu - View commit details
-
Copy full SHA for 204ceda - Browse repository at this point
Copy the full SHA 204cedaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1a4f4c - Browse repository at this point
Copy the full SHA e1a4f4cView commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f17f8f0 - Browse repository at this point
Copy the full SHA f17f8f0View commit details -
This may greatly increase the archive file size which we need to simplify our matrix. But at least we should get some more insights into failing tests.
Configuration menu - View commit details
-
Copy full SHA for de1a4fb - Browse repository at this point
Copy the full SHA de1a4fbView commit details
Commits on Apr 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8db00db - Browse repository at this point
Copy the full SHA 8db00dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e241d - Browse repository at this point
Copy the full SHA a0e241dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc41bc1 - Browse repository at this point
Copy the full SHA cc41bc1View commit details