Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-847: Removing now unnecessary true isChecked parameter from methods #86

Merged
merged 1 commit into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static async Task TestPrivacySampleBehaviorAsync(this UITestContext conte
context.GetCurrentUri().AbsolutePath.ShouldBe(AbsolutePaths.CompetitorRegistration);

// Now we set consent checkbox to checked.
await context.SetCheckboxValueAsync(By.Id("PrivacyConsentCheckboxPart_ConsentCheckbox"), isChecked: true);
await context.SetCheckboxValueAsync(By.Id("PrivacyConsentCheckboxPart_ConsentCheckbox"));
await context.ClickReliablyOnSubmitAsync();

// After submit, it navigates to the new content items view.
Expand Down Expand Up @@ -111,7 +111,7 @@ public static async Task TestRegistrationConsentCheckboxAsync(this UITestContext
await context.FillInWithRetriesAsync(By.Id("Email"), TestUser.Email);
await context.FillInWithRetriesAsync(By.Id("Password"), TestUser.Password);
await context.FillInWithRetriesAsync(By.Id("ConfirmPassword"), TestUser.Password);
await context.SetCheckboxValueAsync(By.Id("RegistrationCheckbox"), isChecked: true);
await context.SetCheckboxValueAsync(By.Id("RegistrationCheckbox"));
await context.ClickReliablyOnSubmitAsync();

// Login with the created user.
Expand Down