Skip to content

Commit

Permalink
chore: enabled all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Mar 6, 2024
1 parent 4210087 commit 02a7716
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions cypress/e2e/main.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
describe("Homepage tests", () => {
// const ORG_NAME = "Ubiquity";
const ORG_NAME = "Ubiquity";

beforeEach(() => {
Expand Down Expand Up @@ -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");
Expand All @@ -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");
});
});

0 comments on commit 02a7716

Please sign in to comment.