Skip to content

Commit

Permalink
test(examples): fixed cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgordel committed Sep 26, 2023
1 parent 5205fa7 commit 718d515
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cypress/ui/docs-example-transfer-json.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe("Docs Examples Transfer JSON", () => {
cy.get("#YAGNA_API_BASEPATH").clear().type(Cypress.env("YAGNA_API_BASEPATH"));
cy.get("#SUBNET_TAG").clear().type(Cypress.env("YAGNA_SUBNET"));
cy.get("#echo").click();
cy.get("#results").should("include.text", "TODO", { timeout: 60000 });
cy.get("#results").should("include.text", `"Hello World"`, { timeout: 60000 });
cy.get("#logs").contains("computed by provider");
cy.get("#logs").contains("Task Executor has shut down");
});
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/ui/docs-quickstart.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe("Docs Examples Quickstart", () => {
it("should print hello world", () => {
cy.visit("/docs-example-quickstart");
cy.visit("/docs-quickstart");
cy.get("#YAGNA_API_BASEPATH").clear().type(Cypress.env("YAGNA_API_BASEPATH"));
cy.get("#SUBNET_TAG").clear().type(Cypress.env("YAGNA_SUBNET"));
cy.get("#echo").click();
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/ui/docs-tutorial.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe("Docs Examples Tutorial", () => {
it("should print hello world", () => {
cy.visit("/docs-example-tutorial");
cy.visit("/docs-tutorial");
cy.get("#YAGNA_API_BASEPATH").clear().type(Cypress.env("YAGNA_API_BASEPATH"));
cy.get("#SUBNET_TAG").clear().type(Cypress.env("YAGNA_SUBNET"));
cy.get("#echo").click();
Expand Down

0 comments on commit 718d515

Please sign in to comment.