From 4ab71a57b2145fdb2bfd4c6931ea2e4d4e203e3e Mon Sep 17 00:00:00 2001 From: mehdinv Date: Wed, 11 Oct 2023 15:10:28 +0100 Subject: [PATCH] Renamed improper 'Code block' ref in cypress test Signed-off-by: mehdinv --- cypress/tests/ui/flowchart/flowchart.cy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/tests/ui/flowchart/flowchart.cy.js b/cypress/tests/ui/flowchart/flowchart.cy.js index bd0e0e3de4..4adf631f09 100644 --- a/cypress/tests/ui/flowchart/flowchart.cy.js +++ b/cypress/tests/ui/flowchart/flowchart.cy.js @@ -42,7 +42,7 @@ describe('Flowchart DAG', () => { cy.get('[data-label="Run Command:"]').should('exist'); }); - it('verifies that users can open the code block in the metadata panel. #TC-25', () => { + it('verifies that users can open the source block in the metadata panel. #TC-25', () => { // Assert before action cy.get('.pipeline-metadata-code--visible').should('not.exist'); @@ -52,7 +52,7 @@ describe('Flowchart DAG', () => { // Assert after action cy.get('.pipeline-metadata-code--visible').should('exist'); - cy.get('.pipeline-metadata-code__title').should('have.text', 'Code block'); + cy.get('.pipeline-metadata-code__title').should('have.text', 'Source block'); }); it('verifies that users can open the metadata panel for parameters and see the parameter details. #TC-26', () => {