Skip to content

docs: configurando ambiente #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

CarolinaCamposs
Copy link

No description provided.

O Cypress intercepta window.alert e substitui por um stub chamado @Alert. Assim, conseguimos validar se foi chamado com o texto esperado sem que o alerta real apareça.
O teste deve verificar que o botão verde não pode ser clicado duas vezes, pois após o primeiro clique, ele é sobreposto
O teste acessa a página inicial, clica no link “Load Delay” e aguarda o carregamento do botão antes de clicar, garantindo que o Cypress só interaja com o elemento após ele estar visível.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant