Skip to content

Commit 4861481

Browse files
committed
Update cypress tests
1 parent b70be15 commit 4861481

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/// <reference types="cypress" />
22

33
context('Increment steppers', () => {
4-
beforeEach(() => {
4+
beiforeEach(() => {
55
cy.visit('/')
66
});
77

88
it('Increment regional population', () => {
9-
cy.contains('Hospitalized Admissions peaks at 300');
9+
cy.contains('Regional population (3600000)');
1010

1111
cy.get('input[type=number]').eq(0)
1212
.should('has.value', '3600000');
@@ -16,11 +16,11 @@ context('Increment steppers', () => {
1616
cy.get('input[type=number]').eq(0)
1717
.should('has.value', '3600001');
1818

19-
cy.contains('Hospitalized Admissions peaks at 300');
19+
cy.contains('Regional population (3600001)');
2020
});
2121

2222
it('Increment hospital market share', () => {
23-
cy.contains('Hospitalized Admissions peaks at 300');
23+
cy.contains('The estimated number of currently infected individuals is 20128.');
2424

2525
cy.get('input[type=number]').eq(1)
2626
.should('has.value', '15');
@@ -30,11 +30,11 @@ context('Increment steppers', () => {
3030
cy.get('input[type=number]').eq(1)
3131
.should('has.value', '15.1');
3232

33-
cy.contains('Hospitalized Admissions peaks at 302');
33+
cy.contains('The estimated number of currently infected individuals is 19996.');
3434
});
3535

3636
it('Increment doubling time', () => {
37-
cy.contains('Hospitalized Admissions peaks at 300');
37+
cy.contains('An initial doubling time of 4.0 days');
3838

3939
cy.get('input[type=number]').eq(3)
4040
.should('has.value', '4');
@@ -44,6 +44,6 @@ context('Increment steppers', () => {
4444
cy.get('input[type=number]').eq(3)
4545
.should('has.value', '4.25');
4646

47-
cy.contains('Hospitalized Admissions peaks at 272');
47+
cy.contains('An initial doubling time of 4.25 days');
4848
});
4949
});

0 commit comments

Comments
 (0)