forked from cms/tibi-svelte-starter
cypress and instanbul
This commit is contained in:
22
cypress/integration/0-renz-einfo/demo.spec.js
Normal file
22
cypress/integration/0-renz-einfo/demo.spec.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
const { before } = require("../../support")
|
||||
|
||||
// @ts-check
|
||||
|
||||
describe("renz einfo auth", () => {
|
||||
beforeEach(() => {
|
||||
before()
|
||||
})
|
||||
|
||||
afterEach(function () {
|
||||
if (this.currentTest.state === "failed") {
|
||||
cy.setCookie("shouldSkip", "true")
|
||||
Cypress.runner.stop()
|
||||
}
|
||||
})
|
||||
|
||||
it("can visit homepage", () => {
|
||||
cy.visit("/")
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user