polevaultweb / codeception-emailmarketing
Email Marketing module library for Codeception
Installs: 3 254
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
- codeception/codeception: *
- polevaultweb/codeception-wait: ^1.0
This package is auto-updated.
Last update: 2024-10-29 04:53:39 UTC
README
An abstract email marketing module for Codeception.
Installation
You need to add the repository into your composer.json file
composer require --dev polevaultweb/codeception-emailmarketing
Usage
In your specific email marketing module, simply extend from Email Marketing
.
Supports
- getTagssForSubscriber
- getActiveCampaignsForSubscriber
- deleteSubscriber
And assertions
- seeCustomFieldForSubscriber
- seeTagsForSubscriber
- cantSeeTagsForSubscriber
- seeCampaignsForSubscriber
- cantSeeCampaignsForSubscriber
- waitForSubscriberToNotHaveTags
Usage
$I = new AcceptanceTester( $scenario ); $I->seeTagsForSubscriber( 'john@gmail.com', array( 'customer', 'product-x' ) ); $I->seeCampaignsForSubscriber( 'john@gmail.com', array( 12345, 67890 ) );