I have a REST api
I have defined a store, and when I try to load it within my test suite, i always get 'null'
The Store is having a proxy defined.
type: 'ajax',
url: '/get-data,
method : 'GET',
headers : { 'Content-Type': 'application/json','Accept': 'application/json' },
and the test is:
t.wait("require", 30000);
t.waitForStoresToLoad('MyStore', function () {
t.endWait("require");
});
Direct call to the rest api works fine.
What am I doing wrong?