-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into daoregissuefixed
- Loading branch information
Showing
81 changed files
with
2,640 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9786fa366f922f04e1251ec6f1df6423b4fd2bf4 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { connectWallet, resetChain } from "./lib"; | ||
|
||
describe("Create an organization flow", () => { | ||
it("works", () => { | ||
resetChain(); | ||
|
||
cy.visit("http://localhost:8081/orgs?network=gno-dev", { | ||
timeout: 300000, | ||
}); | ||
|
||
connectWallet(); | ||
|
||
const daoName = "Test Dao"; | ||
const handle = "testdao"; | ||
const url = | ||
"https://images.unsplash.com/photo-1492571350019-22de08371fd3?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"; | ||
const description = "Test Dao description"; | ||
|
||
cy.contains("Create Dao").click(); | ||
|
||
cy.get("input[placeholder='Type organization\\'s name here']").type( | ||
daoName, | ||
); | ||
cy.get("input[placeholder='your_organization']").type(handle); | ||
cy.get("input[placeholder='https://example.com/preview.png']").type(url); | ||
cy.get('[data-testid="organization-description"]').type(description); | ||
|
||
cy.contains("Next: Configure voting").click(); | ||
cy.contains("Next: Set tokens or members").click(); | ||
cy.get('[data-testid="member-settings-next"]').click(); | ||
cy.contains("Confirm & Launch the Organization").click(); | ||
|
||
cy.contains("Get Started", { timeout: 10000 }).should("exist"); | ||
}); | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.