Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can/How I use protractor with chutzpah?

I've been recently writing unit tests for my angular applications using chutzpah and so far everything is just fine, but now I'm starting to write e2e tests and wanted to use protractor as it's the recommended way of doing e2e in modern angular but I'm not sure on how to integrate both.

I've been searching and couldn't find any example or hint. You can see the setup I'm currently trying in one of my pet proyects here: https://github.com/guerrademitos/MitoPedia

like image 233
Néstor Hernández Ojeda Avatar asked Feb 28 '14 09:02

Néstor Hernández Ojeda


1 Answers

I think you would use Protractor instead of Chutzpah. Chutzpah is a test runner and Protractor is a different test runner. Chutzpah runs tests inside of the PhantomJS headless browser while Protractor is a layer on top of WebDriverJs which is the API on top of Seleniums browser automation framework.

like image 81
Matthew Manela Avatar answered Sep 20 '22 10:09

Matthew Manela