snapshot/cypress/e2e/2.cy.js

28 lines
716 B
JavaScript
Raw Normal View History

2023-02-20 18:17:38 +00:00
/* eslint-env mocha */
/* global cy */
describe("Random Describe", () => {
context("Random Context", () => {
it("Random It", () => {
cy.fixture("File").snapshot("Fixture File", {
2023-05-25 11:55:22 +00:00
snapshotName: "Random Fixture File"
2023-02-20 18:17:38 +00:00
});
// 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();
// });
});
});