-
Notifications
You must be signed in to change notification settings - Fork 25
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
Could not select scenario in Protractor #61
Comments
@pezholio could you try and chain your selectScenario promise. |
I've tried this in my page object:
And I still get the same |
Here's some more detailed output:
Weirdly, the test seems to pass, but I don't see any output in Chrome |
@pezholio can you please share the setup for running ng-apimock on your Ionic 3 project? Like the dependencies you installed, the setup for tslint, protractor and jasmine.. as well as a simple test case in which you managed to select the scenario properly? I'm trying it for a couple hours now with no success yet. |
Thanks, but I ended up going down a different route for this, using a live test API, and creating/deleting everything I needed as part of the setup/teardown routine. |
Hi @marcioferlan @mdasberg I am also receiving this error using Protractor
Here is my setup:
My mock
Where I am selecting the scenario [ Page Object ]
Any thoughts? |
Hi,
I'm trying to use ng-apimock with Protractor in an Ionic project. After a few false starts, I think I'm almost there, but I'm getting the error
Could not select scenario [get-single-case] thrown
when trying to use my mocks.Here's my
protractor.conf.js
:And here's a mock:
(I've left the actual data out for brevity)
And here's my tests:
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: