Skip to content

Commit

Permalink
Fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasstich committed Apr 11, 2024
1 parent 8e84d04 commit 9b060be
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ private async Task GetDialogAsync()
[Ignore("Broken as long as ContentReference is blocked", Until = "2024-04-01")]
public async Task NoExistingAction_ContentSelected_CallsCreateAdaptivityRuleWithContentReferenceAction()
{
await DialogProvider.Find(".tab-panel-content").ClickAsync(new MouseEventArgs());
await DialogProvider.Find("div.mud-paper").ClickAsync(new MouseEventArgs());
await DialogProvider.Find("input").ChangeAsync(new ChangeEventArgs { Value = "foo" });
await DialogProvider.FindComponent<MudTextField<string>>().Find("textarea").ChangeAsync(new ChangeEventArgs { Value = "foo" });

await DialogProvider.FindComponent<MudButton>().Find("button").ClickAsync(new MouseEventArgs());

Expand Down Expand Up @@ -109,7 +110,8 @@ public async Task ExistingAction_ContentSelected_CallsUpdateContentReferenceActi
ExistingAction = cravm;
await GetDialogAsync();

await DialogProvider.Find("input").ChangeAsync(new ChangeEventArgs { Value = "foo" });
await DialogProvider.Find(".tab-panel-content").ClickAsync(new MouseEventArgs());
await DialogProvider.FindComponent<MudTextField<string>>().Find("textarea").ChangeAsync(new ChangeEventArgs { Value = "foo" });

await DialogProvider.FindComponent<MudButton>().Find("button").ClickAsync(new MouseEventArgs());

Expand Down

0 comments on commit 9b060be

Please sign in to comment.