Skip to content

Commit

Permalink
Updated tests to check polls are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Oct 21, 2024
1 parent 6ef10c6 commit 500b762
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ public function testBroadcastsImportWhenEnabled(AcceptanceTester $I)
// Confirm unsubscribe link section has been removed.
$I->dontSee('<div class="ck-section ck-hide-in-public-posts"');

// Confirm poll block has been removed.
$I->dontSee('<table roll="presentation" class="ck-poll');

// Confirm published date matches the Broadcast.
$date = date('Y-m-d', strtotime($_ENV['CONVERTKIT_API_BROADCAST_FIRST_DATE'])) . 'T' . date('H:i:s', strtotime($_ENV['CONVERTKIT_API_BROADCAST_FIRST_DATE']));
$I->seeInSource('<time datetime="' . $date);
Expand Down

0 comments on commit 500b762

Please sign in to comment.