Closed jludvice closed 7 years ago
@dsimansk now we have way of fetching tokens and backend url from browser.
For the reference, we might also hook into component state if we need to with:
// copy paste snippet into browser console
ng.probe($('ipaas-root').get(0)).componentInstance
but it requires angular to run in debug mode
https://juristr.com/blog/2016/02/debugging-angular2-console/
Now we can reset app state for instance with this:
Background:
Given credentials for "Camilla"
And clean application state
This is done by #381
Usage:
Given credentials for "Camilla"
And clean application state
Use test rest endpoint introduced in https://github.com/redhat-ipaas/ipaas-rest/issues/177 Idea is to provide way to reset app state or to inject one.
It might be used in
before
/after
or directly in*.feature
: