Skip to content

Commit a29de42

Browse files
committed
style(e2e): Fix formatting in ArticleTests.cs
1 parent 1b513ca commit a29de42

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Abies.Conduit.E2E/ArticleTests.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using Microsoft.Playwright;
2-
31
namespace Abies.Conduit.E2E;
42

53
/// <summary>
@@ -54,7 +52,7 @@ public async Task ViewArticle_ShowsArticleContent()
5452

5553
// Should be on article page
5654
await Expect(Page.GetByTestId("article-page")).ToBeVisibleAsync();
57-
55+
5856
// Article content should be displayed
5957
await Expect(Page.GetByRole(AriaRole.Heading, new() { Name = title })).ToBeVisibleAsync();
6058
await Expect(Page.GetByText(body)).ToBeVisibleAsync();
@@ -81,11 +79,11 @@ public async Task EditArticle_AuthorCanModify()
8179
// Wait for form to load with existing values - wait for the title to be populated
8280
var titleInput = Page.GetByPlaceholder("Article Title");
8381
await Expect(titleInput).ToBeVisibleAsync(new() { Timeout = 10000 });
84-
82+
8583
// Wait for the title input to have the original title (meaning article data loaded)
8684
await Expect(titleInput).ToHaveValueAsync(originalTitle, new() { Timeout = 10000 });
8785

88-
// Wait for the button to show "Update Article" (not "Publish Article")
86+
// Wait for the button to show "Update Article" (not "Publish Article")
8987
// This confirms the slug is loaded and we're in edit mode
9088
var updateButton = Page.GetByRole(AriaRole.Button, new() { Name = "Update Article" });
9189
await Expect(updateButton).ToBeVisibleAsync(new() { Timeout = 10000 });

0 commit comments

Comments
 (0)