[jbosstools-issues] [JBoss JIRA] (JBIDE-25680) Forced refreshing of browser prevents login using different account providers

Josef Kopriva (JIRA) issues at jboss.org
Thu Feb 22 11:05:00 EST 2018


     [ https://issues.jboss.org/browse/JBIDE-25680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josef Kopriva closed JBIDE-25680.
---------------------------------


Closing - PR is merged.

> Forced refreshing of browser prevents login using different account providers
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-25680
>                 URL: https://issues.jboss.org/browse/JBIDE-25680
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.5.3.AM1
>            Reporter: Vojtech Prusa
>            Assignee: Vojtech Prusa
>            Priority: Minor
>             Fix For: 4.5.3.AM2
>
>
> Condition test BrowserContainsText is not stable for pages where JS is loading data after page is loaded. G.e. redirecting OSIO login page using different account provider (jboss developer) results in refreshing already loaded page (Red Hat login page) instead of refreshing page for which there was a redirection attempt (jboss developer). In case of trying to set URL in code validity of page is lost (most likely because CSFR token is originally sent with redirecting using JS .click() ).
> Solution imo can be by override method arguments to add
> private boolean refresh; with
> public BrowserContainsText(String url, String text, boolean refresh) { ... }
> where page refresh will happen only when by default refresh=true .
> PR in progress..



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list