Skip to content

Commit

Permalink
Merge pull request #76 from TaggrNetwork/release
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
taggrx authored Dec 13, 2024
2 parents f4f953a + 95efeaf commit 80eb28e
Show file tree
Hide file tree
Showing 39 changed files with 1,535 additions and 2,308 deletions.
47 changes: 0 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion e2e/test1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test.describe("Upgrades & token transfer flow", () => {
await page.getByRole("button", { name: "JOIN" }).click();
await page.waitForTimeout(1000);
await page.getByPlaceholder("Enter your password...").fill("eve");
await page.getByPlaceholder("Repeat your password...").fill("eve");
await page.getByRole("button", { name: "JOIN" }).click();
const stalwartPrincipal =
"qjuij-xy6vt-yssaf-dar36-pqa7n-5plk4-3dfy3-ppec7-exsio-qy6xh-7qe";
Expand Down Expand Up @@ -79,7 +80,7 @@ test.describe("Upgrades & token transfer flow", () => {
exec(
"dfx --identity local-minter ledger transfer --amount 0.15 --memo 0 2e670a6cf5ec1a1387dc8e02da3279f8e9221c2191b6f7532f449bb439538f20",
);
await page.getByRole("button", { name: "CREATE MY BID" }).click();
await page.getByRole("button", { name: "BID FOR 15 TAGGR" }).click();
await page.waitForTimeout(1000);

exec("dfx canister call taggr weekly_chores");
Expand Down
5 changes: 3 additions & 2 deletions e2e/test2.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ test.describe("Regular users flow", () => {
await page.getByRole("button", { name: "JOIN" }).click();
await page.waitForTimeout(1000);
await page.getByPlaceholder("Enter your password...").fill("alice");
await page.getByPlaceholder("Repeat your password...").fill("alice");
await page.getByRole("button", { name: "JOIN" }).click();
const alicePrincipal =
"afqmt-iuwxe-fcmq2-gidf2-tqzx2-beg3a-jq7tp-he6c6-xr67k-rtnl7-aqe";
Expand All @@ -48,7 +49,7 @@ test.describe("Regular users flow", () => {

// Logout
await page.getByTestId("toggle-user-section").click();
await page.getByRole("link", { name: /.*LOGOUT.*/ }).click();
await page.getByRole("link", { name: /.*SIGN OUT.*/ }).click();
});

test("Login and post", async () => {
Expand Down Expand Up @@ -214,7 +215,7 @@ test.describe("Regular users flow", () => {
await page.getByRole("button", { name: "CREATE" }).click();
inviteLink = await page.getByText(/.*#\/welcome.*/).textContent();
await page.getByTestId("toggle-user-section").click();
await page.getByRole("link", { name: /.*LOGOUT.*/ }).click();
await page.getByRole("link", { name: /.*SIGN OUT.*/ }).click();
});

test("Registration by invite", async () => {
Expand Down
1 change: 1 addition & 0 deletions e2e/test3.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ test.describe("Regular users flow, part two", () => {
await page.getByRole("button", { name: "JOIN" }).click();
await page.waitForTimeout(1000);
await page.getByPlaceholder("Enter your password...").fill("john");
await page.getByPlaceholder("Repeat your password...").fill("john");
await page.getByRole("button", { name: "JOIN" }).click();
await page.getByRole("button", { name: "MINT CREDITS" }).click();
const value = await page.getByTestId("invoice-amount").textContent();
Expand Down
3 changes: 2 additions & 1 deletion e2e/test4.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ test.describe("Report and transfer to user", () => {
await page.getByRole("button", { name: "JOIN" }).click();
await page.waitForTimeout(1000);
await page.getByPlaceholder("Enter your password...").fill("joe");
await page.getByPlaceholder("Repeat your password...").fill("joe");
await page.getByRole("button", { name: "JOIN" }).click();
exec(
"dfx --identity local-minter ledger transfer --amount 1 --memo 0 a8caaf21598f17df5a17ce655b3a39298559b76f23ea1b2afddd312d0abb04e8",
Expand Down Expand Up @@ -141,7 +142,7 @@ test.describe("Report and transfer to user", () => {
exec(
"dfx --identity local-minter ledger transfer --amount 0.15 --memo 0 756c3ee29e97e7f0a4a9e5c153f88b9f3c12dd43394c4298bbc9f4de3fc84121",
);
await page.getByRole("button", { name: "CREATE MY BID" }).click();
await page.getByRole("button", { name: "BID FOR 15 TAGGR" }).click();
await page.waitForTimeout(1000);

exec("dfx canister call taggr weekly_chores");
Expand Down
Loading

0 comments on commit 80eb28e

Please sign in to comment.