From 93a118cc67e9b96fff3a146903fcd9328f01ab11 Mon Sep 17 00:00:00 2001 From: Milorad Filipovic Date: Wed, 5 Mar 2025 13:21:46 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=EF=B8=8F=20Updating=20e2e=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/e2e/26-resource-locator.cy.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/cypress/e2e/26-resource-locator.cy.ts b/cypress/e2e/26-resource-locator.cy.ts index 124e322c2b..5484febc5b 100644 --- a/cypress/e2e/26-resource-locator.cy.ts +++ b/cypress/e2e/26-resource-locator.cy.ts @@ -5,8 +5,8 @@ const workflowPage = new WorkflowPage(); const ndv = new NDV(); const credentialsModal = new CredentialsModal(); -const NO_CREDENTIALS_MESSAGE = 'Please add your credential'; -const INVALID_CREDENTIALS_MESSAGE = 'Please check your credential'; +const NO_CREDENTIALS_MESSAGE = 'Add your credential'; +const INVALID_CREDENTIALS_MESSAGE = 'Check your credential'; const MODE_SELECTOR_LIST = 'From list'; describe('Resource Locator', () => { @@ -69,15 +69,6 @@ describe('Resource Locator', () => { ndv.getters.resourceLocator('owner').should('be.visible'); ndv.getters.resourceLocatorInput('owner').click(); ndv.getters.resourceLocatorErrorMessage().should('contain', NO_CREDENTIALS_MESSAGE); - - workflowPage.getters.nodeCredentialsSelect().click(); - workflowPage.getters.nodeCredentialsCreateOption().click(); - credentialsModal.getters.credentialsEditModal().should('be.visible'); - credentialsModal.actions.fillCredentialsForm(); - - ndv.getters.resourceLocatorInput('owner').click(); - ndv.getters.resourceLocatorSearch('owner').type('owner'); - ndv.getters.resourceLocatorErrorMessage().should('contain', INVALID_CREDENTIALS_MESSAGE); }); it('should reset resource locator when dependent field is changed', () => {