Skip to content

Commit ce41555

Browse files
im-shivShivam Agarwal
andauthored
FORMS-20949 fixing rule editor test (#1650)
Co-authored-by: Shivam Agarwal <[email protected]>
1 parent 7f3eae7 commit ce41555

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui.tests/test-module/specs/checkboxgroup/checkboxgroup.authoring.cy.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,12 @@ describe('Page - Authoring', function () {
220220
cy.openEditableToolbar(sitesSelectors.overlays.overlay.component + checkBoxGroupEditPathSelector);
221221
cy.get(formsSelectors.ruleEditor.action.editRule).should("exist");
222222
cy.initializeEventHandlerOnChannel("af-rule-editor-initialized").as("isRuleEditorInitialized");
223+
cy.wait(1000);
223224
cy.get(formsSelectors.ruleEditor.action.editRule).click();
224225

225226
// click on create option from rule editor header
226-
cy.get("@isRuleEditorInitialized").its('done').should('equal', true);
227+
// cy.get("@isRuleEditorInitialized").its('done').should('equal', true);
228+
cy.wait(1000);
227229
cy.getRuleEditorIframe().find(formsSelectors.ruleEditor.action.createRuleButton).should("be.visible").click();
228230
cy.getRuleEditorIframe().find(formsSelectors.ruleEditor.action.sideToggleButton + ":first").click();
229231

0 commit comments

Comments
 (0)