10000 Unify syntax of set context steps by uarlouski · Pull Request #4288 · vividus-framework/vividus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

uarlouski
Copy link
Member

No description provided.

@uarlouski uarlouski requested a review from a team as a code owner August 31, 2023 12:02
@github-actions
Copy link
github-actions bot commented Aug 31, 2023

Qodana Community for JVM

It 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
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

[source,gherkin]
----
When I switch to frame located `$locator`
----

* `$locator` - <<_locator>>.
Copy link
Collaborator

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`")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
baseValidations.assertElementExists("The frame to switch", locator).ifPresent(frameActions::switchToFrame);
baseValidations.assertElementExists("The frame to switch context", locator).ifPresent(frameActions::switchToFrame);

@uarlouski uarlouski force-pushed the feature/unify-frame-syntax branch from a6459b8 to 9e5c3b7 Compare August 31, 2023 13:31
@codecov
Copy link
codecov bot commented Aug 31, 2023

Codecov Report

Merging #4288 (9e5c3b7) into master (e8e9208) will increase coverage by 0.00%.
Report is 2 commits behind head on master.
The diff coverage is 100.00%.

@@            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           
Files Changed Coverage Δ
...java/org/vividus/steps/ui/web/SetContextSteps.java 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@valfirst valfirst merged commit 786aecb into master Sep 1, 2023
@valfirst valfirst deleted the feature/unify-frame-syntax branch September 1, 2023 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0