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

Vstest retry with MSTest not working if in scenario Example some value have a space. #402

Open
heilwood opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@heilwood
Copy link

heilwood commented Jan 16, 2025

Reqnroll Version

2.21

Which test runner are you using?

MSTest

Test Runner Version Number

3.7.1

.NET Implementation

.NET 8.0

Issue Description

We are using vstest retry for failed tests, if in scenario Example we have any value with space vstest retry mechanism are failing with error

##[error]Unhandled Exception: System.ArgumentException: Illegal characters in path.

Steps to Reproduce

Vstest trying to execute next command:

vstest.console.exe /TestCaseFilter:"(FullyQualifiedName=Automation.Common.Pages.Insurance.PriceCalculation.Features.SelfRiskFeature.PriceCalculationSelfRiskValueAffectStickyPrice&Name=PriceCalculationSelfRiskValueAffectStickyPrice \(\"6000 kr\",\"3000 kr\"))"

And space in "6000 kr" causing the issue.

Scenario example:

Scenario Outline: Some test name
Given I have opened insurance page
And I have selected '' SelfRisk
When I save total price
And I select '' SelfRisk
Then Total price should be 'decreased'

Examples:
	| price     | defaultPrice |
	| 6000 kr | 3000 kr        |

Link to Repro Project

No response

@heilwood heilwood added the bug Something isn't working label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant