Calculator configuration could not pass test with cypress run
weiklr opened this issue · 3 comments
weiklr commented
Hi Kent,
I couldn't get the calculator test to pass when running with cypress run.
It fails with the error: "Error: Unable to find an element with the text: /^1$/."
When I look at the screen shots, it was showing a list of files in dist folder instead of the calculator app and hence the error message.
To fix this, I updated the start command in other/configuration/calculator/package.json to:
scripts:{
"start": "serve --port 8080"
}
kentcdodds commented
Thanks for the tip! Would you like to make a PR for this?
weiklr commented
Sure
…On Thu, 5 Jul 2018, 10:18 PM Kent C. Dodds, ***@***.***> wrote:
Thanks for the tip! Would you like to make a PR for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHhdYRJRBf-o4hWdOJr5nad2CnrSjSBEks5uDiAlgaJpZM4VC6m3>
.
josephting commented
This should be closed.