Skip to content
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

Increase default timeout for browserstack env. #4349

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

Rohannagariya1
Copy link
Contributor

@Rohannagariya1 Rohannagariya1 commented Jan 6, 2025

The default timeout while initiating a session with BrowserStack is not long enough when testing on mobile devices or Turboscale leading to frequent connection reset errors. This PR increases the timeout to handle such cases.

Copy link

github-actions bot commented Jan 6, 2025

Status

  • ❌ No modified files found in the types directory.
    Please make sure to include types for any changes you have made. Thank you!.

@BeginArjun
Copy link

Can you explain what your PR does?
Which issue is this in reference to (Link if there is one)?

@Rohannagariya1
Copy link
Contributor Author

Can you explain what your PR does? Which issue is this in reference to (Link if there is one)?

Default client timeout was less (15000ms) in nightwatch leading client disconnect for turboscale and showing error on dashboard, to fix it increased the timeout.
I have tested with increased timeout it is working fine .
@BeginArjun

@BeginArjun
Copy link

According to the CONTRIBUTING.md, you should be submitting an issue first

@garg3133 garg3133 changed the title increase default timeout Increase default timeout for browserstack env. Jan 7, 2025
@garg3133
Copy link
Member

garg3133 commented Jan 7, 2025

@BeginArjun That's okay, this is a small fix.

@Rohannagariya1 Can you please update the failing tests as well?

Copy link
Member

@garg3133 garg3133 left a comment

Choose a reason for hiding this comment

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

LGTM!

@garg3133 garg3133 merged commit 7e8bd19 into nightwatchjs:main Jan 7, 2025
16 of 17 checks passed
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