Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8d2dbb60
Commit
8d2dbb60
authored
Feb 11, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logout if already logged in
parent
c7461be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
qa/qa/page/main/login.rb
qa/qa/page/main/login.rb
+3
-3
No files found.
qa/qa/page/main/login.rb
View file @
8d2dbb60
...
...
@@ -79,9 +79,9 @@ module QA
end
def
sign_in_using_ldap_credentials
(
user
)
#
Don't try to log-in if we're already logged-
in
return
if
Page
::
Main
::
Menu
.
perform
do
|
page
|
page
.
has_personal_area?
(
wait:
0
)
#
Log out if already logged
in
Page
::
Main
::
Menu
.
perform
do
|
menu
|
menu
.
sign_out
if
menu
.
has_personal_area?
(
wait:
0
)
end
using_wait_time
0
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment