-
-
Notifications
You must be signed in to change notification settings - Fork 88
Unify syntax of set context steps #4288
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
Conversation
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
[source,gherkin] | ||
---- | ||
When I switch to frame located `$locator` | ||
---- | ||
|
||
* `$locator` - <<_locator>>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make it more meanigful
*/ | ||
@Deprecated(since = "0.6.0", forRemoval = true) | ||
@Replacement(versionToRemoveStep = "0.7.0", | ||
replacementFormatPattern = "When I switch to frame located by `$locator`") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replacementFormatPattern = "When I switch to frame located by `$locator`") | |
replacementFormatPattern = "When I switch to frame located by `%1$s`") |
public void switchToFrame(Locator locator) | ||
{ | ||
resetContext(); | ||
baseValidations.assertElementExists("The frame to switch", locator).ifPresent(frameActions::switchToFrame); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
baseValidations.assertElementExists("The frame to switch", locator).ifPresent(frameActions::switchToFrame); | |
baseValidations.assertElementExists("The frame to switch context", locator).ifPresent(frameActions::switchToFrame); |
a6459b8
to
9e5c3b7
Compare
Codecov Report
@@ Coverage Diff @@
## master #4288 +/- ##
=========================================
Coverage 97.21% 97.21%
- Complexity 6363 6364 +1
=========================================
Files 889 889
Lines 18317 18321 +4
Branches 1210 1210
=========================================
+ Hits 17807 17811 +4
Misses 400 400
Partials 110 110
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Kudos, SonarCloud Quality Gate passed! |
No description provided.