diff --git a/ui/cypress/support/utils/connect/OpcUaUtils.ts b/ui/cypress/support/utils/connect/OpcUaUtils.ts index e59b158f6a..e007119445 100644 --- a/ui/cypress/support/utils/connect/OpcUaUtils.ts +++ b/ui/cypress/support/utils/connect/OpcUaUtils.ts @@ -31,12 +31,12 @@ export class OpcUaUtils { ConnectUtils.selectAdapter(adapterInput.adapterType); // Wait for the first static property to be rendered - // cy.dataCy(adapterInput.adapterConfiguration[0].selector, { - // timeout: 10000, - // }).should('be.visible'); - cy.dataCy(adapterInput.adapterConfiguration[0].selector).should( - 'be.visible', - ); + cy.dataCy(adapterInput.adapterConfiguration[0].selector, { + timeout: 10000, + }) + .scrollIntoView() + .should('be.visible'); + // Validate that no error is not shown when nothing is configured cy.dataCy('reloading-nodes', { timeout: 3000 }).should('not.exist'); ErrorMessageUtils.getExceptionComponent().should('not.exist');