Skip to content

Commit

Permalink
Change test name.
Browse files Browse the repository at this point in the history
  • Loading branch information
atmgrifter00 committed Nov 14, 2024
1 parent 1add99a commit dfa8128
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public NumberFieldBindingTests(PlaywrightFixture playwrightFixture, NimbleBlazor
}

[Fact]
public async Task NumberField_TwoWayBindingsDontBreakAsync()
public async Task NumberField_CanUpdateBoundNumberFieldProgrammatically()

Check failure on line 15 in packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/Tests.InteractiveServer/NumberFieldBindingTests.cs

View workflow job for this annotation

GitHub Actions / build

Correct the spelling of 'Programmatically' in member name NimbleBlazor.Tests.Acceptance.InteractiveServer.NumberFieldBindingTests.NumberField_CanUpdateBoundNumberFieldProgrammatically() (https://docs.microsoft.com/visualstudio/code-quality/ca1704-identifiers-should-be-spelled-correctly)

Check failure on line 15 in packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/Tests.InteractiveServer/NumberFieldBindingTests.cs

View workflow job for this annotation

GitHub Actions / build

Correct the spelling of 'Programmatically' in member name NimbleBlazor.Tests.Acceptance.InteractiveServer.NumberFieldBindingTests.NumberField_CanUpdateBoundNumberFieldProgrammatically() (https://docs.microsoft.com/visualstudio/code-quality/ca1704-identifiers-should-be-spelled-correctly)
{
await using (var pageWrapper = await NewPageForRouteAsync("InteractiveServer/NumberFieldBindings"))
{
Expand All @@ -25,7 +25,7 @@ public async Task NumberField_TwoWayBindingsDontBreakAsync()
await numberField1IncButton.ClickAsync();
await Assertions.Expect(numberField2).ToHaveAttributeAsync("current-value", "0.5");
await numberField2IncButton.ClickAsync();
await Assertions.Expect(numberField1).ToHaveAttributeAsync("current-value", "3"); // incrementing numberField2 to 1.5 should result in 3 for numberField1
await Assertions.Expect(numberField1).ToHaveAttributeAsync("current-value", "3");
}
}
}

0 comments on commit dfa8128

Please sign in to comment.