Multi-browser control during e2e trial tests independently

While testing the E2E of an angular web chat program using a protractor as an E2E framework, I would like to open two browsers and control each one during the test so that I can simulate a real chat and check if all expectations are met.

Is it possible? I know that I can run a test in parallel in multiple browsers using the multiple capabilities config segment, but here I want to run multiple browsers as part of the test and do various exception checks.

Any help would be greatly appreciated,

thank

Alon

+3


source to share


1 answer


Here is an example that does exactly what you want (i.e. test the messenger)

See https://github.com/angular/protractor/blob/master/spec/interactionConf.js and https://github.com/angular/protractor/blob/master/spec/interaction/interaction_spec.js#L51



To run the test instant messaging app I'm testing, check the transporter gractub project and run npm start

+1


source







All Articles