Skip to content

Update sanitization approach of TestInfo properties NameSanitized and SuiteNameSanitized #828

@YevgeniyShunevych

Description

@YevgeniyShunevych

Before v3, invalid characters were just removed from a string. Now they are replaced with underscore symbol, similarly to sanitization of screenshot and snapshot file names. This mainly affects the test folder names in Artifacts directory path.

Example

Test("2/1") as Name becomes
Test(_2_1_) as NameSanitized

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions