vedmack / yadcf

Yet Another DataTables Column Filter (yadcf)
http://yadcf-showcase.appspot.com/
MIT License
732 stars 284 forks source link

webdriverIO tests #579

Closed misanek closed 5 years ago

misanek commented 5 years ago

Hi @vedmack , finally had time to write some tests, initially I wanted to write just some unit test, but this would require more rewriting of the lib. So I come up with selenium webdriverIO automated tests. For now there are just few basic test for filters, that I use in my app, but we can easilly add some more in a future if you like.

Usage:

  1. run npm install within /src/test folder
  2. (if 4 fails ) run./node_modules/.bin/selenium-standalone install within the folder
  3. replace test.html path with the real one in yadcf-test.js.
  4. run ./node_modules/.bin/wdio wdio.conf.js within the folder
vedmack commented 5 years ago

thx!

vedmack commented 5 years ago

That's look really impressive, thanks