From a5d16f522c32d042884e1cf332f317b72debfe64 Mon Sep 17 00:00:00 2001 From: Neha Gokhale Date: Mon, 30 Sep 2024 10:24:54 -0700 Subject: [PATCH] #2189 Fixed actions image cypress test Signed-off-by: Neha Gokhale --- canvas_modules/harness/cypress/e2e/properties/actions.cy.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/canvas_modules/harness/cypress/e2e/properties/actions.cy.js b/canvas_modules/harness/cypress/e2e/properties/actions.cy.js index 2c0c87ccb7..1300a38e5b 100644 --- a/canvas_modules/harness/cypress/e2e/properties/actions.cy.js +++ b/canvas_modules/harness/cypress/e2e/properties/actions.cy.js @@ -29,6 +29,7 @@ describe("Test of action image tooltip direction", function() { cy.hoverOverActionImage("fall"); cy.verifyTip(null, "visible", "This is a long tooltip for action image. Adding this line makes it a multi-line tooltip.", "left"); + cy.hoverOverControl("weather-action-panel"); // Test: action image tooltip direction right // ------------------------------------------ @@ -36,6 +37,7 @@ describe("Test of action image tooltip direction", function() { // For "spring" image, tooltip_direction is set to "right" in paramDef cy.hoverOverActionImage("spring"); cy.verifyTip(null, "visible", "Spring", "right"); + cy.hoverOverControl("weather-action-panel"); // Test: action image tooltip direction top @@ -44,6 +46,7 @@ describe("Test of action image tooltip direction", function() { // For "summer" image, tooltip_direction is set to "top" in paramDef cy.hoverOverActionImage("summer"); cy.verifyTip(null, "visible", "Summer", "top"); + cy.hoverOverControl("weather-action-panel"); // Test: action image tooltip direction bottom // ------------------------------------------- @@ -51,6 +54,7 @@ describe("Test of action image tooltip direction", function() { // For "winter" image, tooltip_direction is set to "bottom" in paramDef cy.hoverOverActionImage("winter"); cy.verifyTip(null, "visible", "Winter", "bottom"); + cy.hoverOverControl("weather-action-panel"); // Test: "When tooltip_direction is not specified, default direction is bottom // ---------------------------------------------------------------------------