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
a8cee305
Commit
a8cee305
authored
Jun 28, 2021
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add rspecs for Time Tracking Report for sidebar
Adds missing rspecs for Time Tracking Report for Issuable sidebar.
parent
6e289e0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
spec/support/shared_examples/quick_actions/issuable/time_tracking_quick_action_shared_examples.rb
...ns/issuable/time_tracking_quick_action_shared_examples.rb
+18
-0
No files found.
spec/support/shared_examples/quick_actions/issuable/time_tracking_quick_action_shared_examples.rb
View file @
a8cee305
...
...
@@ -72,6 +72,24 @@ RSpec.shared_examples 'issuable time tracker' do |issuable_type|
end
end
it
'shows the time tracking report when link is clicked'
do
submit_time
(
'/estimate 1w'
)
submit_time
(
'/spend 1d'
)
wait_for_requests
page
.
within
'.time-tracking-component-wrap'
do
click_link
'Time tracking report'
wait_for_requests
end
page
.
within
'#time-tracking-report'
do
expect
(
find
(
'tbody'
)).
to
have_content
maintainer
.
name
expect
(
find
(
'tbody'
)).
to
have_content
'1d'
end
end
it
'hides the help state when close icon is clicked'
do
page
.
within
'.time-tracking-component-wrap'
do
find
(
'.help-button'
).
click
...
...
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