Ocelot-Social/cypress/integration/Post.Comment/the_editor_should_be_cleared.js
Ulf Gebhardt ddcbeb5b6a
post.comment feature
registration.todo
lots of unifications
2021-04-12 13:24:51 +02:00

5 lines
170 B
JavaScript

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