What is the best way to test application build with angular.js and scala (akka http) end-to-end?
Firstly I tried with Protractor, since its designed for angular. But after few test I realized that sometimes I need to clear the database.
Secondly I tried to write e2e tests in scala, using selenium as it was suggested by scalatest. (http://ift.tt/14XpMIo), and I was easily able to recreate clean db schema. But there is a problem, how to synchronize all the DOM read actions with angular processing.
Aucun commentaire:
Enregistrer un commentaire