From 36c5972ced5586d606210def852208416df9bf42 Mon Sep 17 00:00:00 2001 From: Rafael Solorzano <61289255+rafasdc@users.noreply.github.com> Date: Mon, 27 May 2024 11:20:09 -0700 Subject: [PATCH] test(e2e): add cbc quick edit --- app/cypress/e2e/analyst/cbc/[cbcId].cy.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/cypress/e2e/analyst/cbc/[cbcId].cy.js b/app/cypress/e2e/analyst/cbc/[cbcId].cy.js index 08ead52efc..66b5a66877 100644 --- a/app/cypress/e2e/analyst/cbc/[cbcId].cy.js +++ b/app/cypress/e2e/analyst/cbc/[cbcId].cy.js @@ -23,4 +23,12 @@ describe('The cbc project view', () => { cy.contains('h2', 'Project data reviews'); cy.get('body').happoScreenshot({ component: 'CBC project view' }); }); + + it('triggers quick edit', () => { + cy.visit('/analyst/cbc/1'); + cy.get('button').contains('Quick edit').click(); + cy.get('body').happoScreenshot({ + component: 'CBC project view - quick edit', + }); + }); });