Run several small test within one 'it' in E2E test using Protractor
0
I am new to JavaScript and am working on a E2E test for a single-page web application in Angular2. Basically, there are lots of clickable tags(not redirected to other pages but has some css effect when clicking) on the page, with some logic between them. What I am trying to do is, { randomly click a tag, check to see the the response from the page is correct or not (need to grab many components from the web to do this), then unclick it }. So, I set two const as totalRound and ITER, which I would load the webpage totalRound times, then within each loading page, I would randomly choose and click button ITER times. My code structure is like: let totalRound: number = 10; let ITER: number = 100; describe('XX Test', () => { let page: AppPage; beforeEach(() => { page = new AppP...