Skip to content

Add FindByLabelText to find elements by the text of their labels #15

Add FindByLabelText to find elements by the text of their labels

Add FindByLabelText to find elements by the text of their labels #15

Re-run triggered November 26, 2023 09:40
Status Failure
Total duration 8m 51s
Artifacts

ci.yml

on: pull_request
Matrix: run-test
dependency-review
3s
dependency-review
validate-nuget
0s
validate-nuget
validate_template
0s
validate_template
release-preview
0s
release-preview
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 10 warnings
create-nuget
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
create-nuget
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
create-nuget
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)
create-nuget
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)
create-nuget
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)
create-nuget
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)
create-nuget
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)
create-nuget
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
create-nuget
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
create-nuget
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)
run-test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
run-test (ubuntu-latest)
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
run-test (ubuntu-latest)
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)
run-test (ubuntu-latest)
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-test (ubuntu-latest)
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-test (ubuntu-latest)
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-test (ubuntu-latest)
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-test (ubuntu-latest)
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
run-test (ubuntu-latest)
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
run-test (ubuntu-latest)
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)
run-test (macos-latest)
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
run-test (macos-latest)
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
run-test (macos-latest)
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)
run-test (macos-latest)
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-test (macos-latest)
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-test (macos-latest)
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-test (macos-latest)
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-test (macos-latest)
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
run-test (macos-latest)
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
run-test (macos-latest)
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)
run-test (windows-latest): src/bunit.web.query/Labels/LabelQueryExtensions.cs#L7
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
run-test (windows-latest): 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)
run-test (windows-latest): 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)
run-test (windows-latest): 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)
run-test (windows-latest): 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)
run-test (windows-latest): 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)
run-test (windows-latest): 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)
run-test (windows-latest): src/bunit.web.query/Labels/LabelQueryExtensions.cs#L7
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
run-test (windows-latest): 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)
run-test (windows-latest): 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)
validate-docs
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
validate-docs
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
validate-docs
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)
validate-docs
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)
validate-docs
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)
validate-docs
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)
validate-docs
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)
validate-docs
Missing XML comment for publicly visible type or member 'LabelQueryExtensions'
validate-docs
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. (https://rules.sonarsource.com/csharp/RSPEC-3925)
validate-docs
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)