mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
31 lines
647 B
JavaScript
31 lines
647 B
JavaScript
describe("Root", () => {
|
|
it("simple", () => {
|
|
cy.visit("/");
|
|
cy.screenshot("home");
|
|
|
|
cy.visit("/tos");
|
|
cy.screenshot("tos");
|
|
|
|
cy.visit("/legal_notice");
|
|
cy.screenshot("legal_notice");
|
|
|
|
cy.visit("/contact");
|
|
cy.screenshot("contact");
|
|
|
|
cy.visit("/privacy");
|
|
cy.screenshot("privacy");
|
|
|
|
cy.visit("/developer");
|
|
cy.screenshot("developer");
|
|
});
|
|
|
|
it("example", () => {
|
|
cy.createAdminUnit("test@test.de", "Goslar").then(function (adminUnitId) {
|
|
cy.createEvent(adminUnitId).then(function (eventId) {
|
|
cy.visit("/example");
|
|
cy.screenshot("example");
|
|
});
|
|
});
|
|
});
|
|
});
|