/// <reference types="cypress" />

context('Increment steppers', () => {
  beforeEach(() => {
    cy.visit('/')
  });

  it('Increment regional population', () => {
    cy.contains('Hospitalized Admissions peaks at 300');

    cy.get('input.st-al').eq(0)
      .should('has.value', '3600000');

    cy.get('.step-up').eq(0).click();

    cy.get('input.st-al').eq(0)
      .should('has.value', '3600001');

    cy.contains('Hospitalized Admissions peaks at 300');
  });

  it('Increment hospital market share', () => {
    cy.contains('Hospitalized Admissions peaks at 300');

    cy.get('input.st-al').eq(1)
      .should('has.value', '15');

    cy.get('.step-up').eq(1).click();

    cy.get('input.st-al').eq(1)
      .should('has.value', '15.1');

    cy.contains('Hospitalized Admissions peaks at 302');
  });

  it('Increment doubling time', () => {
    cy.contains('Hospitalized Admissions peaks at 300');

    cy.get('input.st-al').eq(3)
      .should('has.value', '4');

    cy.get('.step-up').eq(3).click();

    cy.get('input.st-al').eq(3)
      .should('has.value', '4.25');

    cy.contains('Hospitalized Admissions peaks at 272');
  });
});

@@ -225,38 +225,45 @@
    cy.get('input
-.st-al
+%5Btype=number%5D
 ').eq(0)%0A      .
@@ -347,30 +347,37 @@
 y.get('input
-.st-al
+%5Btype=number%5D
 ').eq(0)%0A   
@@ -592,38 +592,45 @@
    cy.get('input
-.st-al
+%5Btype=number%5D
 ').eq(1)%0A      .
@@ -709,30 +709,37 @@
 y.get('input
-.st-al
+%5Btype=number%5D
 ').eq(1)%0A   
@@ -943,38 +943,45 @@
    cy.get('input
-.st-al
+%5Btype=number%5D
 ').eq(3)%0A      .
@@ -1067,14 +1067,21 @@
 nput
-.st-al
+%5Btype=number%5D
 ').e

use stable selector for cypress input tests