Is there a way to create a Protractor test in meanJS for the admin only pages? On this GitHub issue, it explains that you have to modify the database to have an admin user.
Right now, all the example Protractor tests in meanJS start by signing up the user in the GUI before proceeding with the tests. But since there isn't a GUI method of signing up an admin, I don't see a way to test those pages automatically.
Is there a way to seed the test database beforehand?
Aucun commentaire:
Enregistrer un commentaire