Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'is the Splash-Live schema set up correctly?': function (client) {
- var pageSplashLive = client.page.pageSplashLive();
- var code;
- login(client);
- pageSplashLive.navigate()
- .waitForElementVisible('@jsonButton', 15000)
- .click('@jsonButton')
- .waitForElementVisible('.ace_content', 10000)
- .api.execute("return angular.element($('.data-editor-form')).scope()['ctrl']['selectedData']['schema']['properties'];", [], function(response) {
- code = JSON.stringify(response.value);
- console.log(code);
- client.assert.equal(code,
- 'json_goes_here');
- });
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement