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
Tatuya Kamada
gitlab-ce
Commits
de09e356
Commit
de09e356
authored
Nov 12, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactored top panel spec
parent
48a1e310
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
spec/requests/top_panel_spec.rb
spec/requests/top_panel_spec.rb
+6
-4
No files found.
spec/requests/top_panel_spec.rb
View file @
de09e356
...
...
@@ -7,8 +7,9 @@ describe "Top Panel", :js => true do
before
do
visit
projects_path
fill_in
"search"
,
:with
=>
"Ke"
sleep
(
2
)
find
(
:xpath
,
"//ul[contains(@class,'ui-autocomplete')]/li/a[.=
\"
Keys
\"
]"
).
click
within
".ui-autocomplete"
do
find
(
:xpath
,
"//a[.=
\"
Keys
\"
]"
).
click
end
end
it
"should be on projects page"
do
...
...
@@ -23,8 +24,9 @@ describe "Top Panel", :js => true do
visit
project_path
(
@project
)
fill_in
"search"
,
:with
=>
"Commi"
sleep
(
2
)
find
(
:xpath
,
"//ul[contains(@class,'ui-autocomplete')]/li/a[.=
\"
#{
@project
.
code
}
/ Commits
\"
]"
).
click
within
".ui-autocomplete"
do
find
(
:xpath
,
"//a[.=
\"
#{
@project
.
code
}
/ Commits
\"
]"
).
click
end
end
it
"should be on projects page"
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