Skip to content

Commit 70949c2

Browse files
test: add doubling time increment test
1 parent 69236ab commit 70949c2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

e2e/cypress/integration/tests/steppers.spec.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,18 @@ context('Increment steppers', () => {
3232

3333
cy.contains('Hospitalized Admissions peaks at 303');
3434
});
35+
36+
it('Increment doubling time', () => {
37+
cy.contains('Hospitalized Admissions peaks at 301');
38+
39+
cy.get('input.st-al').eq(3)
40+
.should('has.value', '4');
41+
42+
cy.get('.step-up').eq(3).click();
43+
44+
cy.get('input.st-al').eq(3)
45+
.should('has.value', '4.25');
46+
47+
cy.contains('Hospitalized Admissions peaks at 273');
48+
});
3549
});

0 commit comments

Comments
 (0)