feat: init hoppscotch-embed package

This commit is contained in:
liyasthomas
2021-11-30 18:36:52 +05:30
parent 520ac8ede5
commit c3fcc6e35d
63 changed files with 12023 additions and 58 deletions

View File

@@ -0,0 +1,37 @@
context("Basic", () => {
beforeEach(() => {
cy.visit("/")
})
it("basic nav", () => {
cy.url()
.should("eq", "http://localhost:3333/")
cy.contains("[Home Layout]")
.should("exist")
cy.get("#input")
.type("Vitesse{Enter}")
.url()
.should("eq", "http://localhost:3333/hi/Vitesse")
cy.contains("[Default Layout]")
.should("exist")
cy.get(".btn")
.click()
.url()
.should("eq", "http://localhost:3333/")
})
it("markdown", () => {
cy.get("[title=\"About\"]")
.click()
.url()
.should("eq", "http://localhost:3333/about")
cy.get("pre.language-js")
.should("exist")
})
})