parent
5fbf159814
commit
4a362cb4bd
@ -1 +1 @@ |
|||||||
{} |
{ "baseUrl": "http://localhost:5000" } |
||||||
|
@ -0,0 +1,16 @@ |
|||||||
|
/// <reference types="cypress" />
|
||||||
|
|
||||||
|
describe("game should", () => { |
||||||
|
it("be able to restart itself", () => { |
||||||
|
cy.visit("/") |
||||||
|
cy.get(".div0.gray").should("be.visible") |
||||||
|
cy.get(".div1.red").should("be.visible") |
||||||
|
cy.get(".div2.red").should("be.visible").click() |
||||||
|
cy.get(".div0.blue").should("be.visible").click() |
||||||
|
cy.get(".div0.red").should("be.visible") |
||||||
|
cy.get(".div1.gray").should("be.visible") |
||||||
|
cy.get(".div2.gray").should("be.visible") |
||||||
|
cy.get(".restart").click() |
||||||
|
cy.get(".div2.red").should("be.visible") |
||||||
|
}) |
||||||
|
}) |
Loading…
Reference in new issue