Skip to content

Commit

Permalink
Summary itens
Browse files Browse the repository at this point in the history
  • Loading branch information
M4deN committed Sep 11, 2023
1 parent 71eb9b1 commit 42e5e38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions cypress/integration/Projeto_WEB/Desenvolvedor.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@ describe('Página de Desenvolvedor', () => {
const expectedText = '\n Alecio Leandro de Medeiros Ocupação: Estudante de Engenharia de Software Empresa: \nRoche La Hoffman Ferramentas: JavaScript, Cypress, Selenium, Robot, Appium, Node, Template EJS, Icones AJAX, CSS. \n ';
cy.get('.container').should('contain.text', expectedText);
});

it.only('Deve redirecionar para a página de contato ao clicar no link de contato', () => {
cy.get('.nav-links li:nth-child(5) a').click();
cy.url().should('include', '/contato');
});

});
2 changes: 1 addition & 1 deletion cypress/integration/Projeto_WEB/Livros.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('Página de Livros', () => {
cy.get('#email').type('usuario@example.com');
cy.get('#senha').type('senha123');
cy.get('button[type="submit"]').click();
cy.get('.nav-links li:nth-child(7) a').click();
cy.get('a[href="/livros"]').click();
});

it('Ordenar livros por autor de forma ascendente', () => {
Expand Down

0 comments on commit 42e5e38

Please sign in to comment.