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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
d965e65f
Commit
d965e65f
authored
Sep 21, 2018
by
Mesut Güneş
Committed by
Rémy Coutable
Dec 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a log-out step and expectation to log-in test
parent
4c7e2218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb
...a/specs/features/browser_ui/1_manage/login/log_in_spec.rb
+10
-1
No files found.
qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb
View file @
d965e65f
module
QA
module
QA
context
'Manage'
,
:smoke
do
context
'Manage'
,
:smoke
do
describe
'basic user login'
do
describe
'basic user login'
do
it
'user logs in using basic credentials'
do
it
'user logs in using basic credentials
and logs out
'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
...
@@ -11,6 +11,15 @@ module QA
...
@@ -11,6 +11,15 @@ module QA
Page
::
Main
::
Menu
.
perform
do
|
menu
|
Page
::
Main
::
Menu
.
perform
do
|
menu
|
expect
(
menu
).
to
have_personal_area
expect
(
menu
).
to
have_personal_area
end
end
Page
::
Main
::
Menu
.
perform
do
|
menu
|
menu
.
sign_out
expect
(
menu
).
not_to
have_personal_area
end
Page
::
Main
::
Login
.
perform
do
|
form
|
expect
(
form
.
sign_in_tab?
).
to
be
(
true
)
end
end
end
end
end
end
end
...
...
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