Skip to content

Commit

Permalink
[RFR] Upgrade cypress to version 13 (#963)
Browse files Browse the repository at this point in the history
* upgrade cypress to 13.6.4

Signed-off-by: Alejandro Brugarolas <[email protected]>

* update dependencies

Signed-off-by: Alejandro Brugarolas <[email protected]>

* update dockerfile

Signed-off-by: Alejandro Brugarolas <[email protected]>

---------

Signed-off-by: Alejandro Brugarolas <[email protected]>
  • Loading branch information
abrugaro authored Feb 14, 2024
1 parent ed57d87 commit 0b36ec1
Show file tree
Hide file tree
Showing 7 changed files with 2,142 additions and 8,602 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ export class Assessment {
.closest("div")
.within(() => {
if (archetypeName) {
let item;
cy.get("span.pf-v5-c-label__text").each((item) => {
if (Cypress.$(item).text().includes(name)) {
if (list[i] == "Proposed action")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import { RepositoryType, SEC } from "../../../types/constants";
import { cancelButton, submitButton } from "../../../views/common.view";

describe(["@tier1"], "Custom Migration Target Validations", () => {
let target: CustomMigrationTarget;
/**
* Validations for Polarion TCs 299, 301, 303, 304 & 305
* This suite is only for fields validations, see crud.test.ts for CRUD operations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import { AssessmentQuestionnaire } from "../../../../models/administration/asses
import { Archetype } from "../../../../models/migration/archetypes/archetype";
import { filterDropDown, filterDropDownContainer } from "../../../../views/common.view";

var invalidSearchInput = String(data.getRandomNumber());
let source_credential;
let maven_credential;
let applicationsList: Array<Application> = [];
Expand Down
2 changes: 1 addition & 1 deletion cypress/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ export function getNamespace(): string {
}

export function patchTackleCR(option: string, isEnabled = true): void {
let value = "";
let value: string;
if (isEnabled) {
value = "true";
} else {
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/interop/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/cypress/included:12.11.0
FROM docker.io/cypress/included:13.6.4

# point Cypress at the /tmp/cache no matter what user account is used
# see https://on.cypress.io/caching
Expand Down
10,733 changes: 2,138 additions & 8,595 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
},
"devDependencies": {
"@4tw/cypress-drag-drop": "^2.2.3",
"@testing-library/cypress": "^9.0.0",
"@testing-library/cypress": "^10.0.1",
"@types/node": "^20.1.0",
"cy-verify-downloads": "^0.1.13",
"cypress": "^12.11.0",
"cypress": "^13.6.4",
"cypress-downloadfile": "^1.2.3",
"cypress-mochawesome-reporter": "^3.2.2",
"cypress-tags": "^1.1.2",
Expand Down

0 comments on commit 0b36ec1

Please sign in to comment.