mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 06:06:24 +08:00
Remove cucumber test for complete/uncomplete step
This commit is contained in:
parent
512d6f3229
commit
6bb760c0a9
2 changed files with 1 additions and 14 deletions
|
|
@ -29,7 +29,7 @@ class MyModuleStatus < ApplicationRecord
|
|||
def final_status?
|
||||
my_module_status_flow.final_status == self
|
||||
end
|
||||
|
||||
|
||||
private
|
||||
|
||||
def next_in_same_flow
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue