Hi Marina.
Regarding your question:
testcafe -b browserstack
It worked (returned a list), both are installed locally and then globally.
After searching for some time, I found in the topic the solution to my mistake. I ended up using the latest versions for TestCafe (^ 0.19.2), and node (8.11.1). But, when I run the test, I get the following error:
ERROR Was unable to open the browser "browserstack:iPhone 7@10.3" due to error.
StatusCodeError: 403 - {"message":"Your free access to test on real devices has expired. You can upgrade to the Automate Mobile plan to test on real devices. Please reach out to our Sales team at sales@browserstack.com.","errors":[]}
From what I understand, my script is trying to use real devices, and what I want is for it to simulate the device described in the test. How can I describe this in my script?
my script:
"test:testbr": "testcafe 'browserstack:iPhone 7@10.3' test/testbr/ --app 'http-server brdemo/ -p 1337 -s'",