How to use the intern.config.kibana function in intern

To help you get started, we’ve selected a few intern examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github elastic / kibana / test / functional / status.js View on Github external
status: function () {
        return this.remote
          .get(getUrl(config.kibana, 'status'))
          .setFindTimeout(60000)
          .findByCssSelector('.plugin_status_breakdown')
          .getVisibleText()
          .then(function (text) {
            expect(text.indexOf('plugin:kibana Ready')).to.be.above(-1);
          });
      }
    };
github elastic / kibana / test / functional / testSettings.js View on Github external
return common.tryForTime(25000, function () {
            return remote.get(url.format(_.assign(config.kibana, {
              pathname: ''
            })))
            .then(function () {
              return common.sleep(2000);
            })
            .then(function () {
              return remote.getCurrentUrl()
              .then(function (currentUrl) {
                expect(currentUrl).to.contain('settings');
              });
            });
          });
        });