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 58 When I go to Rede Moinho's page of product Abbey Road
59 59 And I follow "Inputs"
60 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 62 And I follow "Cancel" within "#categories_selection_actionbar"
62 63 Then I should see "Abbey Road"
63 64 And I should see "Add the inputs or raw material used by this product"
... ... @@ -199,6 +200,7 @@ Feature: manage inputs
199 200 When I go to Rede Moinho's page of product Abbey Road
200 201 And I follow "Inputs"
201 202 And I follow "Edit" within ".input-details"
  203 + And I should see "Cancel" within ".edit_input"
202 204 And I follow "Cancel" within ".edit_input"
203 205 And I follow "Edit" within ".input-details"
204 206 Then I should see "Amount used"
... ...