Skip to content
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

Issue 220 - Teste da página de peso do pet #252

Merged
merged 10 commits into from
Aug 11, 2024
Merged

Conversation

marceana
Copy link
Contributor

Closes #220

Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esse teste que o @DominMFD fez pode ajudar a entender oq quero dizer com tudo que disse, o objeto screen acessa a nossa screen e permite que manipulemos a página igual o usuário manipularia, sem acesso a intrinsecidades do componente, mas sim, apenas interagindo com a pagina!

https://github.com/devhatt/pet-dex-frontend/blob/4fa4790c9741c04fdaef3b82cc778c6202956c27/src/components/Sliding/index.spec.js

src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
@marceana
Copy link
Contributor Author

Obs.: Sobre o teste que eu queria fazer, eu acho que não é possível, pelo que pesquisei:

image

Eu tentei de várias formas mas não consegui, se souberem de uma maneira que dê pra fazer eu posso tentar aparecer no plantão de dúvidas pra entender como seria.

Copy link
Contributor

@Alecell Alecell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Precisamos fazer testes mais significativos que de fato testem o comportamento

src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
src/home/components/PetWeightPage/petWeightPage.spec.js Outdated Show resolved Hide resolved
@marceana marceana requested a review from Alecell July 21, 2024 04:05
@marceana marceana requested a review from Alecell July 26, 2024 01:49
@PiluVitu PiluVitu requested review from PiluVitu and a team and removed request for PiluVitu August 6, 2024 13:42
@DominMFD DominMFD merged commit a12dea8 into devhatt:main Aug 11, 2024
3 checks passed
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.

Testes da página de peso do pet
4 participants