Commit 576eaafa28a82a8c1f2c6d1b0a72c8492a042743

Authored by Rodrigo Souto
1 parent a1ae0978

manage-inputs: add should see to ensure the follow will work

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
features/manage_inputs.feature
@@ -58,6 +58,7 @@ Feature: manage inputs @@ -58,6 +58,7 @@ Feature: manage inputs
58 When I go to Rede Moinho's page of product Abbey Road 58 When I go to Rede Moinho's page of product Abbey Road
59 And I follow "Inputs" 59 And I follow "Inputs"
60 And I follow "Add the inputs or raw material used by this product" 60 And I follow "Add the inputs or raw material used by this product"
  61 + And I should see "Cancel" within "#categories_selection_actionbar"
61 And I follow "Cancel" within "#categories_selection_actionbar" 62 And I follow "Cancel" within "#categories_selection_actionbar"
62 Then I should see "Abbey Road" 63 Then I should see "Abbey Road"
63 And I should see "Add the inputs or raw material used by this product" 64 And I should see "Add the inputs or raw material used by this product"
@@ -199,6 +200,7 @@ Feature: manage inputs @@ -199,6 +200,7 @@ Feature: manage inputs
199 When I go to Rede Moinho's page of product Abbey Road 200 When I go to Rede Moinho's page of product Abbey Road
200 And I follow "Inputs" 201 And I follow "Inputs"
201 And I follow "Edit" within ".input-details" 202 And I follow "Edit" within ".input-details"
  203 + And I should see "Cancel" within ".edit_input"
202 And I follow "Cancel" within ".edit_input" 204 And I follow "Cancel" within ".edit_input"
203 And I follow "Edit" within ".input-details" 205 And I follow "Edit" within ".input-details"
204 Then I should see "Amount used" 206 Then I should see "Amount used"