wdi5 icon indicating copy to clipboard operation
wdi5 copied to clipboard

Login for real e2e tests

Open dominikfeininger opened this issue 4 years ago • 12 comments

dominikfeininger avatar Mar 29 '22 11:03 dominikfeininger

yep, see https://github.com/orgs/js-soft/projects/1/views/4?filterQuery=extension

vobu avatar Mar 31 '22 08:03 vobu

added script in this branch: https://github.com/js-soft/wdi5/tree/feature/e2eLogin

maybe is misunderstood the requirements?

dominikfeininger avatar Apr 06 '22 06:04 dominikfeininger

hey 👋 - silence for 30 days 🤐 ... anybody? 😀

github-actions[bot] avatar May 07 '22 02:05 github-actions[bot]

in the works

vobu avatar May 09 '22 10:05 vobu

might be contributed by QMate Team

dominikfeininger avatar May 17 '22 06:05 dominikfeininger

What's the actual state ? Will this roadmap step provide authentication for testing of users with differnent permissions / roles ?

T1mey avatar May 31 '22 09:05 T1mey

still WIP, with generic BTP login coming first. This also means that the roles/permissions for the UI5 app depend on the roles/permissions the logged in user has.

vobu avatar May 31 '22 09:05 vobu

still WIP, with generic BTP login coming first. This also means that the roles/permissions for the UI5 app depend on the roles/permissions the logged in user has.

That means that the testuser will authenticate against the BTP and must exist there. As we're using an own IDP with certificate based login this will be a bit tricky, right? Will this scenario be supported?

T1mey avatar May 31 '22 09:05 T1mey

Hello colleagues, @vobu @dominikfeininger @T1mey, the priority of this ticket for our project is high now. It was raise on March, and we are unable to integrate our e2e tests in an automated jenkins job. Could you please increase the priority and provide information regarding deadlines of resolving this? Thank you very much.

APatrina avatar Jun 27 '22 09:06 APatrina

there's been some back and forth on this topic - originally we thought that some SAP colleagues will contribute the authentication part, but that got stalled into the void. so it's back to square one on this, albeit the original plans have not changed; meaning: wdi5 will support:

  • standard BTP IdP login (w/ username + password)
  • SAP Universal ID based login (w/ selector on what User Id to use)
  • FLP login

with the standard IdP coming first.

given the current track record, I'll refrain from promising any delivery dates. but hey, here's an idea: if it's super urgent for you @APatrina, why don't you give it a shot yourself? A good starting point would be to provide the login capability on the wdi5 object itself https://github.com/js-soft/wdi5/blob/main/src/wdi5.ts - for usage in a WebdriverIO before().

vobu avatar Jun 28 '22 07:06 vobu

Hi, this issue has now been open for almost 7 months, with the last mention of it "being in the works" dating back to end of June. Very recently, during your Devtoberfest session on wdi5, @vobu, you reiterated that authentication features are "in the works". I see that it's part of the in progress roadmap, but is there any update on this?

dnzxy avatar Oct 20 '22 10:10 dnzxy

@monavari-lebrecht is leading the dev effort for this and still on it. given that he's doing it in his spare time, things take longer than as if it'd be a paid dev effort. that being said, would you have capacity to help? or a sponsorship opportunity?

vobu avatar Oct 20 '22 11:10 vobu

solved with https://github.com/ui5-community/wdi5/releases/tag/v1.0.0-pre.1

dominikfeininger avatar Nov 15 '22 10:11 dominikfeininger