From d901c5721c4abd4b3f4c2ca944943dcb67dfae0c Mon Sep 17 00:00:00 2001 From: nimya-aot Date: Mon, 25 Mar 2024 11:15:06 -0700 Subject: [PATCH] #1059 updated package --- .github/workflows/cypress-ci.yaml | 2 +- tests/functional/cypress/e2e/form-design-basicfields.cy.js | 6 +++--- .../e2e/form-design-basiclayout-advanced-layout.cy.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cypress-ci.yaml b/.github/workflows/cypress-ci.yaml index 1d9397b0a..cb3fa8d51 100644 --- a/.github/workflows/cypress-ci.yaml +++ b/.github/workflows/cypress-ci.yaml @@ -21,7 +21,7 @@ jobs: - name: cypress install uses: cypress-io/github-action@v6 with: - version: '13.6.4' + working-directory: '${{ github.workspace }}/tests/functional' - name: Cypress install run: | diff --git a/tests/functional/cypress/e2e/form-design-basicfields.cy.js b/tests/functional/cypress/e2e/form-design-basicfields.cy.js index adfd2e8b4..207e5711b 100644 --- a/tests/functional/cypress/e2e/form-design-basicfields.cy.js +++ b/tests/functional/cypress/e2e/form-design-basicfields.cy.js @@ -1,6 +1,6 @@ import 'cypress-keycloak-commands'; import 'cypress-drag-drop'; -import "cypress-real-events/support"; + const depEnv = Cypress.env('depEnv'); @@ -32,7 +32,7 @@ describe('Form Designer', () => { // Verifying fields in the form settings page it('Visits the form settings page', () => { - + cy.visit(`/${depEnv}/form/create`); cy.location('pathname').should('eq', `/${depEnv}/form/create`); //cy.contains('h1', 'Form Settings'); @@ -250,7 +250,7 @@ describe('Form Designer', () => { cy.get('input[name="data[label]"]').clear().type('ID Number'); cy.get('button').contains('Save').click(); }); - cy.get('[name="data[middleName]"]').realHover('mouse'); + //cy.get('[name="data[middleName]"]').realHover('mouse'); // //removeComponent "middle Name" diff --git a/tests/functional/cypress/e2e/form-design-basiclayout-advanced-layout.cy.js b/tests/functional/cypress/e2e/form-design-basiclayout-advanced-layout.cy.js index 7adfc2c8e..7a10048be 100644 --- a/tests/functional/cypress/e2e/form-design-basiclayout-advanced-layout.cy.js +++ b/tests/functional/cypress/e2e/form-design-basiclayout-advanced-layout.cy.js @@ -135,7 +135,7 @@ it('Visits the form design page for basic layout', () => { fileUploadInputField.should('not.to.be.null'); cy.get('input[type=file]').should('not.to.be.null'); - fileUploadInputField.attachFile('Green.jpg'); + fileUploadInputField.attachFile('add1.png'); //cy.get('button').contains('Save').click(); cy.get('.btn-success').click(); });