dotnet-client icon indicating copy to clipboard operation
dotnet-client copied to clipboard

test: Add validations to 'CanToggleData' Test

Open Dor-bl opened this issue 3 years ago • 0 comments

Change list

Added Assert on currentConnectionType after we Toggle the Data Dispose the Driver if it's not null

Types of changes

What types of changes are you proposing/introducing to .NET client? Put an x in the boxes that apply

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] New feature (non-breaking change which adds value to the project)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Documentation

  • [ ] Have you proposed a file change/ PR with appium to update documentation?

This can be done by navigating to the documentation section on http://appium.io selecting the appropriate command/endpoint and clicking the 'Edit this doc' link to update the C# example

Integration tests

  • [x] Have you provided integration tests to pass against the beta version of appium? (for Bugfix or New feature)

Details

After toggling the data, better to check currentConnectionType was changed accordingly.

Dor-bl avatar Oct 08 '22 20:10 Dor-bl