Skip to content

Commit

Permalink
Fix Cypress test on local environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jq1836 committed Oct 3, 2023
1 parent 43828fd commit c9efa62
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions frontend/cypress/tests/chartView/chartView_zoomFeature.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ describe('range changes in chartview should reflect in zoom', () => {
cy.get('#tab-zoom .ramp .ramp__slice')
.first()
.invoke('attr', 'title')
.should('eq', '[2020-10-01] [#1312] Conditional run for markbind to gh pages deployment (#1337): +1 -0 lines ');
.should('eq', '[2020-11-21] [#1345] Authorship: Add last modified date to each LoC if specified '
+ '(#1348): +165 -76 lines ');
cy.get('#tab-zoom .ramp .ramp__slice')
.last()
.invoke('attr', 'title')
Expand Down Expand Up @@ -319,8 +320,8 @@ describe('range changes in chartview should reflect in zoom', () => {
cy.get('#tab-zoom .ramp .ramp__slice')
.last()
.invoke('attr', 'title')
.should('eq', '[2020-11-21] [#1345] Authorship: Add last modified '
+ 'date to each LoC if specified (#1348): +165 -76 lines ');
.should('eq', '[2020-12-18] [#1374] Travis: utilise latest node version for PR docs deployment '
+ '(#1381): +4 -0 lines ');
});

// Assumptions: Contributer 'jamessspanggg' is the first result,
Expand Down Expand Up @@ -351,7 +352,7 @@ describe('range changes in chartview should reflect in zoom', () => {
cy.get('#tab-zoom .ramp .ramp__slice')
.last()
.invoke('attr', 'title')
.should('eq', '[2020-11-21] [#1345] Authorship: Add last modified date '
+ 'to each LoC if specified (#1348): +165 -76 lines ');
.should('eq', '[2020-12-18] [#1374] Travis: utilise latest node version for PR docs deployment '
+ '(#1381): +4 -0 lines ');
});
});

0 comments on commit c9efa62

Please sign in to comment.