Skip to content

[dotnet] remove hard coded service parameters from test environment #12343

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
Jul 12, 2023

Conversation

titusfortner
Copy link
Member

@titusfortner titusfortner commented Jul 12, 2023

Description

  • Removed all hard coded references to driver and browser locations
  • I may have gotten a little delete happy and deleted *all Service parameters from all driver creation test code. We aren't modifying service objects anywhere in the code so it is unneeded

Motivation and Context

  • If a User passes in a location for a driver and that driver is wrong, Selenium should error ([🐛 Bug]: Selenium Manager and.NET #12301)
  • .NET tests hard code a default location for drivers and ignore it if it isn't found, which means we can't run tests if we throw an error
  • Besides, Selenium Manager makes it all unnecessary

Only changes test files

@titusfortner titusfortner added the C-dotnet .NET Bindings label Jul 12, 2023
@titusfortner titusfortner merged commit 3fbd0e5 into trunk Jul 12, 2023
@titusfortner titusfortner deleted the net_hard_coded branch July 12, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-dotnet .NET Bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant