-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from feroline/webTables
WebTables e buttons adicionados, session no beforeach geral adicionado para melhorar o tempo de execução dos testes, tempo de resposta alterado para buscas os elementos e para visitar as páginas, seguindo o tempo de execução do site.
- Loading branch information
Showing
26 changed files
with
690 additions
and
37 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import ButtonsPage from '../../pageObjects/buttons/ButtonsPage'; | ||
import ElementsLink from '../../support/Enum/links/Elements'; | ||
|
||
const Buttons = new ButtonsPage(); | ||
|
||
beforeEach(() => { | ||
cy.visitarToolsQA(ElementsLink.Buttons); | ||
}); | ||
|
||
describe('Botão Double Click', () => { | ||
it('Verificar se o botão Double Click funciona e apresenta mensagem', () => { | ||
Buttons.dbClickButton(true); | ||
Buttons.dbClickMsg(true); | ||
}); | ||
|
||
it('Verificar se DB click não funciona apenas com 1 click e não apresenta mensagem', () => { | ||
Buttons.dbClickButton(false); | ||
Buttons.dbClickMsg(false); | ||
}); | ||
}); | ||
|
||
describe('Botão Right Click', () => { | ||
it('Verificar se Right click fubciona e apresenta mensagem', () => { | ||
Buttons.rightClick(true); | ||
Buttons.rightClickMsg(true); | ||
}); | ||
|
||
it('Verificar se Right Click não funciona com Left Click e não apresenta mensagem', () => { | ||
Buttons.rightClick(false); | ||
Buttons.rightClickMsg(false); | ||
}); | ||
}); | ||
|
||
describe('Dynamic Click', () => { | ||
it('Verificar se o clique dinâmico funciona e apresenta mensagem', () => { | ||
Buttons.dynamicClick(); | ||
Buttons.dynamicClickMsg(); | ||
}); | ||
}); |
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
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
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
Oops, something went wrong.