Not Particularly Meaningful
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

css-tester

1.0.5 • Public • Published

css-tester Build Status

chained testing with (chai) expect and jquery

// cucumber step definition integration example
  this.Then(/^I should see the register countdown$/, function(callback, $) {
    this.css('.panel.register').exists()
      .css('.panel-heading').exists()
        .css('h3').containsText('Anmelden').end()
      .end()
      .css('.panel-body').exists().containsText('Es sind noch 2 Plätze frei.').end();
 
    callback();
  });

install

npm i css-tester

Downloadsweekly downloads

15

version

1.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar