1.1.6 • Published 3 years ago

chai-ify v1.1.6

Weekly downloads
-
License
UNLICENCED
Repository
bitbucket
Last release
3 years ago

README

What is this repository for?

This is simply a Chai-based assertions library. Hopefully it can prevent having to search arround for the correct syntax and chains to use and will speed up basic element assertions

This package is completely open-source and can be attributed to through a PR. This repository is also fork-able(?), so feel free to steal a bit of code, on the house.

How do I get set up?

  • Install Node.js
  • In your terminal, use the command 'npm i chai-ify'
  • Require the library, i.e. 'import { verifyElement } from 'chai-ify';'
  • Use commands within your code!

For example:

ci.verifyElement({

element: cy.get('#header'),

visible: true,

text: 'This is the header!',

}),

This will assert that the the element supplied is visible, and has the text 'This is the header!'

Who do I talk to?

1.1.1

3 years ago

1.1.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago