From c169b76d1977d29bfddf0cc258f8df4de470ade6 Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Fri, 16 Feb 2024 14:26:11 -0800 Subject: [PATCH] add force option to avoid element getting covered error Signed-off-by: Amardeepsingh Siglani --- .../security-analytics-dashboards-plugin/2_rules.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/plugins/security-analytics-dashboards-plugin/2_rules.spec.js b/cypress/integration/plugins/security-analytics-dashboards-plugin/2_rules.spec.js index 0288cb077..43f027a07 100644 --- a/cypress/integration/plugins/security-analytics-dashboards-plugin/2_rules.spec.js +++ b/cypress/integration/plugins/security-analytics-dashboards-plugin/2_rules.spec.js @@ -516,7 +516,7 @@ describe('Rules', () => { ); toastShouldExist(); getSelectionPanelByIndex(0).within(() => - getMapValueField().type('FieldValue') + getMapValueField().type('FieldValue', { force: true }) ); // selection map list field @@ -527,7 +527,7 @@ describe('Rules', () => { toastShouldExist(); getSelectionPanelByIndex(0).within(() => { getListRadioField().click({ force: true }); - getMapListField().type('FieldValue'); + getMapListField().type('FieldValue', { force: true }); }); // tags field