Skip to content

Commit

Permalink
test(e2e): add cbc quick edit
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasdc committed May 27, 2024
1 parent 84f244b commit 36c5972
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/cypress/e2e/analyst/cbc/[cbcId].cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});
});
});

0 comments on commit 36c5972

Please sign in to comment.