4teamwork / ftw.testbrowser

A testing browser for Plone.
http://ftwtestbrowser.readthedocs.io/
5 stars 1 forks source link

Improve multi browser support in standard page objects. #73

Closed jone closed 7 years ago

jone commented 7 years ago

Background Page objects support passing in a browser instance so that they can be used in a multi browser setup (e.g. when testing two users concurrently).

Problem I have realized that not all page objects used this pattern consistently. Some didn't accept the browser keyword argument, others didn't use the browser instance recursively by passing it to other page objects. Therefore this change.

Solution This pull request includes these changes: