Remove cucumber test for complete/uncomplete step

This commit is contained in:
Urban Rotnik 2020-07-22 16:50:10 +02:00
parent 512d6f3229
commit 6bb760c0a9
2 changed files with 1 additions and 14 deletions

View file

@ -29,7 +29,7 @@ class MyModuleStatus < ApplicationRecord
def final_status?
my_module_status_flow.final_status == self
end
private
def next_in_same_flow

View file

@ -105,16 +105,3 @@ Given default screen size2
And I fill in "I will go to Krn one day." in "#my_module_description_textarea" rich text editor field
And I click element with css ".tinymce-save-button"
Then I should see "I will go to Krn one day."
@javascript
Scenario: Successful Complete task
Given I'm on the Protocols page of a "Experiment design" task
And I click "Complete task" button
Then I should see "Uncomplete task"
@javascript
Scenario: Successful Uncomplete task
Given I'm on the Protocols page of a "Experiment design" task
And I click "Complete task" button
And I click "Uncomplete task" button
Then I should see "Complete task"