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

Main changes to SauceOptions and SauceSession #209

Conversation

Added overloaded methods for ISauceRemoteDriver to include DataCenter and an int to pass in seconds for timeout.
Implemented the overloaded methods in the SauceDriver class
Browser.cs: Added latest browsers
DataCenter.cs: Updated URL for UsWest
EdgeVersion.cs: Added latest versions
IncorrectSafariVersionException.cs: Added method to display invalid version
JsonUtils.cs: Added class to centralize serialization settings
Platforms.cs: Added latest versions
SauceOptions.cs: Updated Safari method to reflect latest platforms
TestVisibility.cs: Added latest values
Timeout.cs: removed JsonProperties as it handled by serializer
SafariTests.cs: Updated test methods to test latest versions
SauceOptionsTests.cs: Updated timeout key to reflect camel case naming convention
This commit has changes that touched several files.

DataCenter.cs: Updated EuCentral to return a DataCenter rather than an object.
SauceOptions.cs:  With methods now provide method chaining, and properly overloaded. Added Authentication. Removed IWebDriver properties. Removed driver specific configured options.
SauceSession.cs: Added overloaded constructors. Simplified the Start method. Removed authentication.
Tests classes: Updated to reflect changes made to DataCenter, SauceOptions and SauceSession classes
Updated per Codacy
Copy link
Contributor

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/Simple.Sauce/IncorrectSafariVersionException.cs  1
- dotnet/Simple.Sauce/JsonUtils.cs  1
- dotnet/Simple.Sauce/SauceDriver.cs  1
- dotnet/Simple.Sauce/SauceOptions.cs  2
         

See the complete overview on Codacy

@nadvolod
Copy link
Contributor

@MattKeenum same problem here. It's better to open a new branch with a single feature for every PR. Take a look at some of these PRs as an example:
#220
#219
https://github.com/saucelabs/sauce_bindings/pull/214/files
Let me know if you have questions or concerns

@nadvolod nadvolod closed this Oct 30, 2020
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