Options
All
  • Public
  • Public/Protected
  • All
Menu

Module commands/classic-create-post

Index

Functions

  • classicCreatePost(postData: default): void
  • Create Post in Classic Editor

    example
    cy.classicCreatePost({
    title: 'Post title',
    content: 'Post content',
    beforeSave: () => {
    // Do something before save.
    },
    postType: 'page',
    status: 'draft'
    }).then(postID => {
    cy.log(postID);
    })

    Parameters

    Returns void

Generated using TypeDoc