Ocelot-Social/cypress/e2e/Post.Comment/the_editor_should_be_cleared.js

6 lines
175 B
JavaScript

import { Then } from "@badeball/cypress-cucumber-preprocessor";
Then("the editor should be cleared", () => {
cy.get(".ProseMirror p").should("have.class", "is-empty");
});