Add FindByLabelText to find elements by the text of their labels #1897
Annotations
10 errors
🧪 Run unit tests
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
|
🧪 Run unit tests
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
🧪 Run unit tests
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Bunit.LabelTextUsingWrappedElementStrategy.FindElement(Bunit.IRenderedFragment, string)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
|
🧪 Run unit tests
Type 'LabelTextUsingAriaLabelledByStrategy' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
🧪 Run unit tests
Type 'LabelTextUsingWrappedElementStrategy' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
🧪 Run unit tests
Type 'LabelTextUsingAriaLabelStrategy' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
🧪 Run unit tests
Type 'LabelTextUsingForAttributeStrategy' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
🧪 Run unit tests
Type 'LabelQueryConstants' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
🧪 Run unit tests
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
|
🧪 Run unit tests
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
The logs for this run have expired and are no longer available.
Loading