Add FindByLabelText to find elements by the text of their labels #15
Annotations
10 errors
src/bunit.web.query/Labels/LabelQueryExtensions.cs#L7
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
|
src/bunit.web.query/Labels/LabelNotFoundException.cs#L8
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
src/bunit.web.query/Labels/Strategies/LabelTextUsingWrappedElementStrategy.cs#L11
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Bunit.Labels.Strategies.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)
|
src/bunit.web.query/Labels/Strategies/LabelTextUsingWrappedElementStrategy.cs#L6
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)
|
src/bunit.web.query/Labels/Strategies/LabelTextUsingAriaLabelledByStrategy.cs#L6
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)
|
src/bunit.web.query/Labels/Strategies/LabelTextUsingForAttributeStrategy.cs#L6
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)
|
src/bunit.web.query/Labels/Strategies/LabelTextUsingAriaLabelStrategy.cs#L6
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)
|
src/bunit.web.query/Labels/LabelQueryExtensions.cs#L7
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
|
src/bunit.web.query/Labels/LabelNotFoundException.cs#L8
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
src/bunit.web.query/Labels/Strategies/LabelTextUsingWrappedElementStrategy.cs#L11
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Bunit.Labels.Strategies.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)
|
The logs for this run have expired and are no longer available.
Loading