Skip to content
Open
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
4 changes: 2 additions & 2 deletions tests/EndToEnd/forms/FormBackwardCompatCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ public function testCreateFormWithInvalidCustomField(EndToEndTester $I)
$I->waitForElementVisible('.wpforms-confirmation-scroll');
$I->seeInSource('Thanks for contacting us! We will be in touch with you shortly.');

// Check API to confirm subscriber was sent.
$I->apiCheckSubscriberExists($I, $emailAddress, $firstName);
// Check subscriber does not exist, as specifying an invalid custom field will result in an API error.
$I->apiCheckSubscriberDoesNotExist($I, $emailAddress);
}

/**
Expand Down
Loading