Created
March 21, 2021 22:58
-
-
Save saymowan/660e58887fe3b07918535b40d44dca09 to your computer and use it in GitHub Desktop.
delete cypress api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('Produtos - Excluir Produto Inexistente',()=>{ | |
cy.deleteProdutos("xxx", true) | |
.then(response =>{ | |
expect(response.status).to.equal(200) | |
expect(response.body.message).to.eq("Nenhum registro excluído") | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment