<reponame>pr57039n/kura6_application<filename>cypress/e2e/spec.cy.js<gh_stars>0describe('Container accessible', () => {
  it.only('Verify Title', () => {
    cy.visit('http://172.17.0.1:8000')
    cy.title().should('eq','GEST')
  })
  it.only('Has incorrect details', () => {
    cy.visit('http://172.17.0.1:8000')
    cy.get('form');
    cy.get('#form2Example17')
    .type('envkt@example.com')
    .should('have.value', 'envkt@example.com');
    cy.get('#form2Example27')
    .type('badpassword')
    .should('have.value', 'badpassword');
    cy.get('form').submit()
    cy.get('.alert')
    .should('be.visible')
    .and('contain.text', 'Invalid details')
  })
})
