diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-03-18 14:23:16 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2016-03-18 14:23:16 +0300 |
commit | 4cd87d31bd2d8401dbfa968494a3fc7a869dbf2d (patch) | |
tree | 3bb5a62a82d18446d432e7ea64a1fd455a1a53ac /features/steps | |
parent | ad04a9118828ea072df46c06b599b75d1e22fd47 (diff) | |
parent | ceaa6943919041c204ec86ebea0347374dffdd44 (diff) |
Merge branch 'optimistic-todos' into 'master'
Adds small AJAX optimistic functionality to todos.
Fixes #13656 <br/>
A good first step and boring solution. <br/>
Will make ajax call to remove each issue. <br/>
If issue is last in group of issues will refresh page. <br/>
If issues remain in group will remove row with JS. <br/>
Adds loading spinner to button and disables. <br/>
![todos-optimistic](/uploads/c6aec4a688e5125d4df55a2a3a55d4d7/todos-optimistic.gif) <br/>
cc @dzaporozhets @JobV @dbalexandre
See merge request !2946
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/todos.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb index 9722a5a848c..963e4f21365 100644 --- a/features/steps/dashboard/todos.rb +++ b/features/steps/dashboard/todos.rb @@ -41,7 +41,6 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps click_link 'Done' end - expect(page).to have_content 'Todo was successfully marked as done.' expect(page).to have_content 'To do 3' expect(page).to have_content 'Done 1' should_not_see_todo "John Doe assigned you merge request !#{merge_request.iid}" |