Skip to content

Conversation

@uarlouski
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented May 15, 2025

Qodana 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 [email protected]

@codecov
Copy link

codecov bot commented Jun 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.73%. Comparing base (83d10f3) to head (0b2ceab).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5890      +/-   ##
============================================
- Coverage     97.73%   97.73%   -0.01%     
- Complexity     7226     7472     +246     
============================================
  Files           996      996              
  Lines         20993    20998       +5     
  Branches       1381     1381              
============================================
+ Hits          20518    20522       +4     
  Misses          364      364              
- Partials        111      112       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@uarlouski uarlouski marked this pull request as ready for review June 4, 2025 12:37
@uarlouski uarlouski requested a review from a team as a code owner June 4, 2025 12:37
@uarlouski uarlouski requested review from draker94, valfirst and vkepin June 4, 2025 12:37
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2025

Comment on lines +92 to +94
a|Enables https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy[Sauce Connect Proxy]

The https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy[Sauce Connect Proxy] can also be enabled at story level by using `@tunnel` meta tag.
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
a|Enables https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy[Sauce Connect Proxy]
The https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy[Sauce Connect Proxy] can also be enabled at story level by using `@tunnel` meta tag.
a|Enables https://docs.saucelabs.com/secure-connections/[Sauce Connect Proxy]
https://docs.saucelabs.com/secure-connections/[Sauce Connect Proxy] can also be enabled at story level by using `@tunnel` meta tag.

getRunningStory().map(RunningStory::getName).ifPresent(testNameConsumer);
}

protected Optional<RunningStory> getRunningStory()
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
protected Optional<RunningStory> getRunningStory()
private Optional<RunningStory> getRunningStory()

protected abstract void setCapability(DesiredCapabilities capabilities, Meta meta);
protected void setCapability(DesiredCapabilities capabilities, Meta meta)
{
// Nothing to do
Copy link
Collaborator

Choose a reason for hiding this comment

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

not a good default implementation, it's better to keep empty methods per enum entry

public void configure(DesiredCapabilities desiredCapabilities)
{
Validate.isTrue(!hasControllingMetaTag(ControllingMetaTag.TUNNEL),
"ExecutionCloud doesn't support tunneling capabilities.");
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
"ExecutionCloud doesn't support tunneling capabilities.");
"ExecutionCloud does not support tunnelling");

Comment on lines +35 to +36
Validate.isTrue(!hasControllingMetaTag(ControllingMetaTag.TUNNEL),
"LambdaTest doesn't support tunneling capabilities.");
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
Validate.isTrue(!hasControllingMetaTag(ControllingMetaTag.TUNNEL),
"LambdaTest doesn't support tunneling capabilities.");
Validate.isTrue(!hasControllingMetaTag(ControllingMetaTag.TUNNEL),
"LambdaTest does not support tunnelling");

for profile in "${profiles[@]}"; do
./gradlew :vividus-tests:debugStories -Pvividus.configuration.environments=system/saucelabs \
-Pvividus.configuration.suites=health_check \
-Pvividus.configuration.suites=health_check/extended \
Copy link
Collaborator

Choose a reason for hiding this comment

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

no reason to check if tunnelling works for each browser, it's enough to have one browser only

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.

3 participants