One file one test
Hi. I'm newbie at testing (and english too) and just tried to write a tests, but now I have a couple of problem. I write one scope of test to one file, so my test looks like:
- get page login
- check banner exists
- try to click to close
- check cookies (that should be set, after close)
- refresh page and banner should be hide.
If I run test by one file - it ok, but when it ran by mask *, all other test files runs together and it fall down. Others tests checks others pages where no banner (at the case), thats why it fall down. So, I know about afterEach and beforeEach, but it too slow to reload page before each test case.
Can protractor run test by one file and until tests in this file aren't pass\fall, protractor doesn't run other test file? Or I should change my tests design?
Oh. It's looks similar too #1077 I just set 'shardTestFiles : true ' in config file
Can this be closed?