Skip to content

Commit

Permalink
[RFR] Fix app archetype association test (konveyor#1255)
Browse files Browse the repository at this point in the history
* Fix app archetype association test

Signed-off-by: Nandini Chandra <[email protected]>

* Fix app archetype association test

Signed-off-by: Nandini Chandra <[email protected]>

* Update cypress/e2e/models/migration/archetypes/archetype.ts

Co-authored-by: Alejandro Brugarolas <[email protected]>
Signed-off-by: Nandini Chandra <[email protected]>

---------

Signed-off-by: Nandini Chandra <[email protected]>
Co-authored-by: Alejandro Brugarolas <[email protected]>
  • Loading branch information
nachandr and abrugaro authored Nov 11, 2024
1 parent dd99c32 commit d80905f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cypress/e2e/models/migration/archetypes/archetype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,14 @@ export class Archetype {

validateAssessmentField(risk: string): void {
Archetype.open(true);
Assessment.validateAssessmentField(this.name, "Archetype", risk);
cy.get(tdTag, { timeout: 10 * SEC })
.contains(this.name)
.click();
cy.get(commonView.sideDrawer.risk).contains("Archetype risk");
cy.get(commonView.sideDrawer.labelContent).should("contain", risk);
click(commonView.sideDrawer.closeDrawer);
}

validateReviewDonutChart(): void {
Archetype.open();
clickKebabMenuOptionArchetype(this.name, review);
Expand Down

0 comments on commit d80905f

Please sign in to comment.