From 897ad51548097a64e8288691872b9d48d27aa4ad Mon Sep 17 00:00:00 2001 From: Joshua Date: Thu, 25 May 2023 13:55:22 +0200 Subject: [PATCH] Fix Example File --- cypress/e2e/2.cy.js | 2 +- cypress/snapshots/Random-Fixture-File.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 cypress/snapshots/Random-Fixture-File.json diff --git a/cypress/e2e/2.cy.js b/cypress/e2e/2.cy.js index 9495d5e..9d4abde 100644 --- a/cypress/e2e/2.cy.js +++ b/cypress/e2e/2.cy.js @@ -4,7 +4,7 @@ describe("Random Describe", () => { context("Random Context", () => { it("Random It", () => { cy.fixture("File").snapshot("Fixture File", { - humanName: "Random Fixture File" + snapshotName: "Random Fixture File" }); // cy.fixture("File2").snapshot("Fixture File", }); diff --git a/cypress/snapshots/Random-Fixture-File.json b/cypress/snapshots/Random-Fixture-File.json new file mode 100644 index 0000000..86ac8e3 --- /dev/null +++ b/cypress/snapshots/Random-Fixture-File.json @@ -0,0 +1 @@ +{"foo":"bar","Fizzy Drink":"Soda"} \ No newline at end of file