cypress-aiotests-reporter
Version:
Plugin to report cypress results to AIO Tests Jira
19 lines (15 loc) • 563 B
JavaScript
describe('empty spec ', () => {
it('case which is simply simple : NVTES-TC-4', () => {
cy.visit('https://example.cypress.io')
})
beforeEach(() => {
cy.visit('https://example.cypress.io/todo')
cy.log("Starting it " + Cypress.currentTest.title );
})
it('NVTES-TC-5 : displays two todo items by default', () => {
cy.get('.todo-list li').should('have.length', 2)
cy.wait(2000);
cy.get('.todo-list li').first().should('have.text', 'Pay electric bill')
cy.get('.todo-list li').last().should('have.text', 'Walk the dog')
})
})