How to use the ember-cli-yadda.yadda.localisation function in ember-cli-yadda

To help you get started, we’ve selected a few ember-cli-yadda 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 albertjan / ember-cli-yadda / tests / acceptance / steps / steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', async function() {
      await visit('/');
      assert.ok(true, this.step);
    })
    .when('I look in the folder', function() {
      assert.ok(true, this.step);
    });
}
github albertjan / ember-cli-yadda / node-tests / fixtures / main / mocha / acceptance / steps / steps.js View on Github external
export default function() {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', async function() {
      await visit('/');
      expect(true, this.step).to.be.true;
    })
    .when('I look in the folder', function() {
      expect(true, this.step).to.be.true;
    });
}
github albertjan / ember-cli-yadda / tests / integration / steps / steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', function(){
      assert.ok(true, this.step);
    })
    .when('I look in the folder', function(){
      assert.ok(true, this.step);
    });
}
github albertjan / ember-cli-yadda / tests / integration / steps / components / steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .then('I should see the text "$text"', function(text) {
      assert.equal(this.element.textContent.trim(), text);
    });
}
github albertjan / ember-cli-yadda / tests / unit / steps / context-steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .when('I have no annotations', function() {
    })
    .then('the test context should have "$name"', function(property) {
      assert.ok(this[property], this.step);
    });
}
github albertjan / ember-cli-yadda / node-tests / fixtures / main / qunit / unit / steps / steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', function(){
      assert.ok(true, this.step);
    })
    .when('I look in the folder', function(){
      assert.ok(true, this.step);
    });
}
github albertjan / ember-cli-yadda / node-tests / fixtures / main / mocha / integration / steps / steps.js View on Github external
export default function() {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', function(){
      expect(true, this.step).to.be.true;
    })
    .when('I look in the folder', function(){
      expect(true, this.step).to.be.true;
    });
}
github albertjan / ember-cli-yadda / tests / unit / steps / steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', function(){
      assert.ok(true, this.step);
    })
    .when('I look in the folder', function(){
      assert.ok(true, this.step);
    });
}
github albertjan / ember-cli-yadda / node-tests / fixtures / main / qunit / integration / steps / steps.js View on Github external
export default function(assert) {
  return yadda.localisation.default.library()
    .given('I type "Ember g feature make-feature"', function(){
      assert.ok(true, this.step);
    })
    .when('I look in the folder', function(){
      assert.ok(true, this.step);
    });
}

ember-cli-yadda

Ember-cli yadda addon for running Gherkin acceptance tests

MIT
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis

Popular ember-cli-yadda functions