You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@modal @retry
Feature: Reauthenticate
As a content editor
I want to be able to log in through a CMS popup when my session expires
So that I can avoid losing unsaved work
The Search component that has been introduced in 1.3. Underneath it uses FormBuildLoader, which performs asynchronous call to the server on component mounting.
The scenario background after loading the page performs a session expiration.
Apparently, sometimes the session expiration step goes ahead of the search component rendering, so that the ajax request to the server triggers a new session generation. At this stage, LeftAndMain controller handles it as a security failure and the Security module registers a session flush message, given by the LeftAndMain controller.
Sometimes, at this point the test kicks in before the browser handles the redirect and tries to perform Add Member action.
At this point the IFrame with the login form gets rendered with the session flush message, registered in the step 3. Which has different copy from the default one. At this point the scenario fails with the following screenshot:
Affected versions
silverstripe-admin
1.3
,1.3.0
Feature
Problem
The same exact commit may pass and break on CI in two consequent builds (e.g. 6ba4a1f on https://travis-ci.org/open-sausages/silverstripe-admin).
Why this happens
The
Search
component that has been introduced in1.3
. Underneath it usesFormBuildLoader
, which performs asynchronous call to the server on component mounting.The scenario background after loading the page performs a session expiration.
Apparently, sometimes the session expiration step goes ahead of the search component rendering, so that the ajax request to the server triggers a new session generation. At this stage, LeftAndMain controller handles it as a security failure and the Security module registers a session flush message, given by the LeftAndMain controller.
Sometimes, at this point the test kicks in before the browser handles the redirect and tries to perform Add Member action.
At this point the IFrame with the login form gets rendered with the session flush message, registered in the
step 3
. Which has different copy from the default one. At this point the scenario fails with the following screenshot:PRs
The text was updated successfully, but these errors were encountered: