ui5-community / wdi5

official UI5 end-to-end test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
https://ui5-community.github.io/wdi5/
Apache License 2.0
102 stars 43 forks source link

Extend recipes documentation with multi browser examples #316

Closed maiargu closed 2 years ago

maiargu commented 2 years ago

Describe the bug We have a rather complicated end to end test case scenario, but nothing not manageable with an e2e test framework (in my opinion). Let me explain:

To be able to implement this test case scenario we wanted to use the capabilities configuration option from webdriverIO https://webdriver.io/docs/options/#capabilities-1 and have multiremote 2 browser instances.

And here the whole configuration hell started.

For one browser instance we want to skipInjectUI5OnStart and after a successful login (the login page from the authentication provider service does not contain UI5 controls) we want to inject wdi5 service. For the other browser instance we don't even need wdi5, since it's written in angular.

Expected behavior I would have wished for a better documentation regarding the whole multi browser configuration for wdi5. Please think about extending the documentation here, since this kind of recipe might be also helpful for developers trying to test chatbot applications.

I also see that "login for e2e real test cases" is on the road map https://github.com/ui5-community/wdi5/issues/207 with the first intention to add support for standard BTP IdP login (w/ username + password). Please also take into consideration extending the documentation how it's supposed to work with multi remote configuration when one browser instance would use the BTP IdP login and the other browser instance won't.

vobu commented 2 years ago

the scenario/use-case you describe is spot-on for the multi-remote feature of wdi5 πŸ‘ and I take it you've gained quite some experience with coding multi-remote tests in wdi5! given that it's pretty easy to contribute to the documentation, would you mind giving this a shot? as you stated, many would benefit from that. thanks in advance!

github-actions[bot] commented 2 years ago

hey πŸ‘‹ - silence for 30 days 🀐 ... anybody? πŸ˜€

github-actions[bot] commented 2 years ago

closed πŸ“΄ because silencio 🀫 since an additional 14 days after staleness πŸ“