Ocelot-Social/cypress/e2e/Post.Images/I_add_all_required_fields.js

9 lines
229 B
JavaScript

import { Then } from "@badeball/cypress-cucumber-preprocessor";
Then("I add all required fields", () => {
cy.get('input[name="title"]')
.type('new post')
.get(".editor .ProseMirror")
.type('new post content')
})