react-code-dataset / wp-calypso /test /e2e /specs /blocks /blocks__jetpack-writing.ts
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
/**
* @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;