File size: 775 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
/**
* @group gutenberg
* @group jetpack-wpcom-integration
*/
import {
BlockFlow,
BusinessHoursFlow,
WhatsAppButtonFlow,
PaidContentBlockFlow,
SubscribeFlow,
ContactInfoBlockFlow,
DataHelper,
} from '@automattic/calypso-e2e';
import { createBlockTests } from './shared/block-smoke-testing';
const blockFlows: BlockFlow[] = [
new BusinessHoursFlow( { day: 'Sat' } ),
new SubscribeFlow(),
new ContactInfoBlockFlow( { email: 'foo@example.com', phoneNumber: '(213) 621-0002' } ),
new WhatsAppButtonFlow( { phoneNumber: 1234567890, buttonText: 'Porpoises swim happily' } ),
new PaidContentBlockFlow( {
subscriberTitle: DataHelper.getRandomPhrase(),
subscriberText: DataHelper.getRandomPhrase(),
} ),
];
createBlockTests( 'Blocks: Jetpack Grow', blockFlows );
|