Skip to content

Commit

Permalink
Don't use the first item.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Dec 3, 2023
1 parent 9263150 commit efc865d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ await context.ClickReliablyOnAsync(

// Test that content JSON editing works.
await context.GoToContentItemListAsync();
await context.SelectFromBootstrapDropdownReliablyAsync(By.CssSelector(".dropdown-toggle.actions"), "Edit as JSON");
await context.SelectFromBootstrapDropdownReliablyAsync(
By.CssSelector(".list-group-item:nth-child(3) .dropdown-toggle.actions"),
"Edit as JSON");
context
.Get(By.XPath("//div[contains(@class, 'jsoneditor-field') and contains(., 'Author')]/../..//div[contains(@class, 'jsoneditor-value')]"))
.FillInWith(TestAuthor);
Expand Down

0 comments on commit efc865d

Please sign in to comment.