I'm writing some simple e2e tests with protractor, but given this is my first attempt I have a lot of simple questions. The scenario is as follows: user logins, enter credentials, lands on the site dashboard, clicks a button, lands on a table with 100 rows, clicks export button, exports a csv and logs out.
Now my questions are the following:
How do I organize all of this? Does this fit into one 'spec' file where I navigate from page to page (importing all the page objects into the single spec file, etc)? Or do I create a separate spec file (and associated page obj file) for each screen? If so, how do I chain them together to move in the order described above? Should each spec be independent (and thus have the appropriate prep work done in it)? Or Should the specs be called in order in the conf.js file--like a suite? Thanks.