no-record-video-test-passed-cypress-plugin
Version:
Plugin delete the recorded video for specs that had no retry attempts or failures when using Cypress test retries.
18 lines (15 loc) • 557 B
JavaScript
describe("empty spec ", () => {
it("case which is simply simple : NVTES-TC-4", () => {
cy.visit("https://example.cypress.io");
});
beforeEach(() => {
cy.visit("https://example.cypress.io/todo");
cy.log("Starting it " + Cypress.currentTest.title);
});
it("displays two todo items by default", () => {
cy.get(".todo-list li").should("have.length", 2);
cy.wait(2000);
cy.get(".todo-list li").first().should("have.text", "Pay electric bill");
cy.get(".todo-list li").last().should("have.text", "Walk the dog");
});
});