Screenshot is not matching
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to fill a form with only mandatory inputs and validate submit button (it should change to enabled). It never change on screenshot, but if I try to insert it manually there, it works (with same values)
It is an [Udemy course](https://www.udemy.com/course/testes-de-regressao-visual-com-backstopjs/), not a real case.
[APP](https://ticketbox-backstopjs-tat.s3.eu-central-1.amazonaws.com/index.html)
My custom test code:
```javascript
module.exports = async page => {
await page.type("#first-name", "João")
await page.type("#last-name", "Silva")
await page.type("#email", "joao-silva@teste.com")
await page.click("#agree")
}
```
My scenario:
```
{
"label": "Fill all mandatory fields",
"url": "https://ticketbox-backstopjs-tat.s3.eu-central-1.amazonaws.com/index.html",
"misMatchThreshold": 0,
"requireSameDimensions": true,
"onReadyScript": "puppet/custom/fillAllMandatoryFields.js"
}
```
[My repo](https://github.com/w-lopes/aula-backstopjs)
[Teacher's repo solution](https://github.com/wlsf82/curso-backstopjs-tat/tree/solucao-final)
Even if i try to run his solution here, it does not work. If he try my solution there, it works.
@wlsf82
Contributor guide
Assessment
This issue has not been assessed yet.