diff --git a/cypress/e2e/Second Spec.cy.js b/cypress/e2e/Second Spec.cy.js new file mode 100644 index 0000000..f9b9da9 --- /dev/null +++ b/cypress/e2e/Second Spec.cy.js @@ -0,0 +1,27 @@ +/* eslint-env mocha */ +/* global cy */ +describe("Random Describe", () => { + context("Random Context", () => { + it("Random It", () => { + cy.fixture("File").snapshot("Fixture File", { + humanName: "Random Fixture File" + }); + // cy.fixture("File2").snapshot("Fixture File", + }); + + // it("works with numbers", () => { + // console.log(cy.wrap(42)) + // cy.wrap(42).snapshot(); + // }); + + // it("works with strings", () => { + // console.log(cy.wrap("foo-bar")) + // cy.wrap("foo-bar").snapshot(); + // }); + + // it("works with arrays", () => { + // console.log(cy.wrap([1, 2, 3])) + // cy.wrap([1, 2, 3]).snapshot(); + // }); + }); +}); diff --git a/cypress/e2e/spec.cy.js b/cypress/e2e/spec.cy.js new file mode 100644 index 0000000..bfed1d6 --- /dev/null +++ b/cypress/e2e/spec.cy.js @@ -0,0 +1,24 @@ +/* eslint-env mocha */ +/* global cy */ +describe("@cypress/snapshot", () => { + context("simple types", () => { + it("works with objects", () => { + cy.fixture("File2").snapshot("Compare Files"); + }); + + // it("works with numbers", () => { + // console.log(cy.wrap(42)) + // cy.wrap(42).snapshot(); + // }); + + // it("works with strings", () => { + // console.log(cy.wrap("foo-bar")) + // cy.wrap("foo-bar").snapshot(); + // }); + + // it("works with arrays", () => { + // console.log(cy.wrap([1, 2, 3])) + // cy.wrap([1, 2, 3]).snapshot(); + // }); + }); +}); \ No newline at end of file