Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Dec 9, 2024
1 parent 3c2a718 commit e7837ba
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,10 @@ public function testRestrictedContentByTagOnFrontend($I, $urlOrPageID, $emailAdd
$I->fillField('convertkit_email', $emailAddress);
$I->click('input.wp-block-button__link');

// Confirm cookie set.
$I->reloadPage();
$I->seeCookie('ck_subscriber_id');
// Wait for reCAPTCHA to fully load.
if ( $recaptchaEnabled ) {
$I->wait(3);
}

// Confirm that the restricted content is now displayed.
$I->testRestrictContentDisplaysContent($I, $options);
Expand Down

0 comments on commit e7837ba

Please sign in to comment.