Skip to content

Commit

Permalink
Renaming 'SlidesToShow' JSON property to 'slidesToShow' in Carousel t…
Browse files Browse the repository at this point in the history
…ests.
  • Loading branch information
milosh-96 committed Jan 15, 2025
1 parent 2ce2a89 commit 08d874f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task TestCarouselWidgetOptionsAsync(this UITestContext conte
{
await context.SignInDirectlyAndGoToAdminRelativeUrlAsync(CarouselWidgetPartSettingsUrl);
context.WaitForPageLoad();
var options = JsonSerializer.Serialize(new { SlidesToShow, dots = ShowDots });
var options = JsonSerializer.Serialize(new { slidesToShow = SlidesToShow, dots = ShowDots });
context.ExecuteScript($"codeMirrorJsonEditor.setValue('{options}')");
await context.ClickReliablyOnSubmitAsync();
await context.GoToRelativeUrlAsync(CarouselWidgetExamplePageUrl);
Expand Down

0 comments on commit 08d874f

Please sign in to comment.