Skip to content

Commit

Permalink
Merge branch 'release-0.48.x' into auto-update/renku-core-2.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar authored Feb 9, 2024
2 parents 477be37 + db5420d commit 9d1a8d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion cypress-tests/cypress/e2e/checkWorkflows.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ describe("Workflows pages", () => {
.contains("span", "m")
.should("be.visible");
cy.getDataCy("workflow-details")
.get("a#icon-link-5")
.contains("tr", "Default value")
.find("a")
.should("be.visible")
.click();
cy.get("#file-card-header")
Expand Down
6 changes: 3 additions & 3 deletions cypress-tests/cypress/support/commands/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const getIframe = (selector: string) => {
.then(cy.wrap);
};

function getDataCy(value: string, exist: true) {
function getDataCy(value: string, exist?: boolean) {
if (exist) return cy.get(`[data-cy=${value}]`).should("exist");
return cy.get(`[data-cy=${value}]`);
}
Expand All @@ -33,8 +33,8 @@ declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Cypress {
interface Chainable {
getDataCy(value: string, exist?: boolean);
getIframe(selector: string): Chainable<unknown>;
getDataCy: typeof getDataCy;
getIframe: typeof getIframe;
}
}
}

0 comments on commit 9d1a8d7

Please sign in to comment.