Skip to content

Visual studio 2019 test code coverage analyze could not calculate the blazor code when using WebDriver #9630

@yukozh

Description

@yukozh

Describe the bug

Run UI test with Web Driver but the code coverage shown 0%.

image

To Reproduce

Steps to reproduce the behavior:
Run the UI test: https://github.com/yukozh/YukoBlazor/tree/master/test/YukoBlazor.Client.Tests

Expected behavior

The tested code path should be marked as covered.

Additional context

  • VS2019
  • Blazor 0.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions