File size: 638 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 29 30 |
/**
* @group gutenberg
* @group jetpack-wpcom-integration
*/
import { BlockFlow, AIAssistantFlow, MarkdownFlow } from '@automattic/calypso-e2e';
import { createBlockTests } from './shared/block-smoke-testing';
const blockFlows: BlockFlow[] = [
new AIAssistantFlow(
{
query: 'In two short sentences, tell me about Vancouver, Canada.',
tone: 'Passionate',
improve: 'Make shorter',
},
{ keywords: [ 'Vancouver' ] }
),
new MarkdownFlow(
{
text: '### Markdown Header',
},
{
expectedText: 'Markdown Header',
expectedRole: 'heading',
}
),
];
createBlockTests( 'Blocks: Jetpack Writing', blockFlows );
8;
|