-
Notifications
You must be signed in to change notification settings - Fork 11
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
Stabilize the SelenideAddonsTest #143
Comments
The test is still unstable on my machine. The tests |
Wouldn't it be helpful for the future debugging of the test, to add some asserts about the slider state before interactions, like this?
|
Should we prefer the JUnit assertions or Selenide assertions for the slider value check? On the one hand, the JUnit assertion has a clearer error message and doesn't contain any (useless?) information about the slider element. On the other hand, Selenide provides implicit wait e.g. for the case of slow internet connection. What do you think? |
Why do you use |
I noticed, that the code like this
is/can be used in multiple projects, e.g. I built a custom method like this for the cardfactory project. Wouldn't it be a good idea to extend SelenideAddons with methods to wait until or while some condition, without any exception throwing but just returning a boolean value as information whether the condition was fulfilled? |
Can't be reproduced. Seems to be associated with changing test to not headless and the used display. |
Good point, will be done. |
Will be changed to Selenide assertions since this is the preferred way. Good catch. |
I checked it. The functions are the same. I will adjust this. |
Created issue #148 for this. |
done can be rechecked again |
@oomelianchuk: Can be rechecked again. |
added a method for opening the blog page
In my opinion, the test is now good and clear. I have no more complaints :) |
The problem of issue #125 occurred again.
Find a way to work in both situations GDPR overlay visible or not.
The text was updated successfully, but these errors were encountered: