diff --git a/README.md b/README.md index 726b070..e99b67f 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,6 @@ Otherwise to simply run the tests through the console, run ```shell yarn cy:run ``` + +To test in a real-world scenario, you will need to create an Organization under your GitHub account, and use it as a +dummy. If the operation is successfully, you will see a new repository appear with the Ubiquibot configuration. diff --git a/cypress/e2e/main.cy.ts b/cypress/e2e/main.cy.ts index eeca2ad..c7a46f6 100644 --- a/cypress/e2e/main.cy.ts +++ b/cypress/e2e/main.cy.ts @@ -1,5 +1,4 @@ describe("Homepage tests", () => { - // const ORG_NAME = "Ubiquity"; const ORG_NAME = "Ubiquity"; beforeEach(() => { @@ -50,7 +49,7 @@ describe("Homepage tests", () => { cy.get("body").should("exist"); }); - it.only("Create onboarding repository", () => { + it("Create onboarding repository", () => { cy.visit("/"); cy.get("#setBtn").click(); cy.log("Display warning on empty WALLET_PRIVATE_KEY"); @@ -68,6 +67,7 @@ describe("Homepage tests", () => { cy.get("#outKey").then((e) => { expect(e.val()).not.to.be.empty; }); + cy.log("Expected to be a step 2 of the form"); cy.get("#stepper > :nth-child(2)").should("have.class", "active"); }); });