Skip to content

Authentication failing when we navigate using browser.get #368

Open
@NarayanM01

Description

We are using browser.get() to navigate to external app.
browser.get(
oParams.systemURL ,{
auth: {
'sapcloud-form': {
user: oParams.ProjBillingUser.UserName,
pass: oParams.ProjBillingUser.Password,
userFieldSelector: oParams.userFieldSelector,
passFieldSelector: oParams.passFieldSelector,
logonButtonSelector: oParams.logonButtonSelector
}
}
});
It seems like browser is waiting for login page. And authentication is happening twice.

Error:
TimeoutError: Waiting to redirect to login page
Wait timed out after 110000ms
at /home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:2201:17
at ManagedPromise.invokeCallback_ (/home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:1376:14)
at TaskQueue.execute_ (/home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:3084:14)
at TaskQueue.executeNext_ (/home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:3067:27)
at /home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:2927:27
at /home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:668:7
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
From: Task: Waiting to redirect to login page
at scheduleWait (/home/jenkins/workspace/us.cpm.projengagement.maint_main/infra/webapp/test/uiveri5/node_modules/selenium-webdriver/lib/promise.js:2188:20)
image

Build : https://fio-pipe06.codepipes.wdf.sap.corp/job/S4-FIORI-CORE-6%20GitHub%20Quality/job/cus.cpm.projengagement.maint/job/main/395/UIVeri5_20Test_20Report/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions