Commit 88ac416984448bce8b07b6b06fb5b0f93398fed4
1 parent
6633066c
Exists in
master
and in
20 other branches
adjust cucumber tests
Showing
2 changed files
with
9 additions
and
9 deletions
Show diff stats
features/categories_block.feature
@@ -29,7 +29,7 @@ Feature: categories_block | @@ -29,7 +29,7 @@ Feature: categories_block | ||
29 | @selenium | 29 | @selenium |
30 | Scenario: List just product categories | 30 | Scenario: List just product categories |
31 | Given display ".button-bar" | 31 | Given display ".button-bar" |
32 | - And I follow "Edit" within ".categories-block" | 32 | + And I follow "Edit" within ".block-outer .categories-block" |
33 | And I check "Product" | 33 | And I check "Product" |
34 | When I press "Save" | 34 | When I press "Save" |
35 | Then I should see "Food" | 35 | Then I should see "Food" |
@@ -41,7 +41,7 @@ Feature: categories_block | @@ -41,7 +41,7 @@ Feature: categories_block | ||
41 | @selenium | 41 | @selenium |
42 | Scenario: Show submenu if it exists | 42 | Scenario: Show submenu if it exists |
43 | Given display ".button-bar" | 43 | Given display ".button-bar" |
44 | - And I follow "Edit" within ".categories-block" | 44 | + And I follow "Edit" within ".block-outer .categories-block" |
45 | And I check "Product" | 45 | And I check "Product" |
46 | And I press "Save" | 46 | And I press "Save" |
47 | Then I should see "Food" | 47 | Then I should see "Food" |
@@ -59,7 +59,7 @@ Feature: categories_block | @@ -59,7 +59,7 @@ Feature: categories_block | ||
59 | @selenium | 59 | @selenium |
60 | Scenario: Show only one submenu per time | 60 | Scenario: Show only one submenu per time |
61 | Given display ".button-bar" | 61 | Given display ".button-bar" |
62 | - And I follow "Edit" within ".categories-block" | 62 | + And I follow "Edit" within ".block-outer .categories-block" |
63 | And I check "Product" | 63 | And I check "Product" |
64 | And I press "Save" | 64 | And I press "Save" |
65 | Then I should see "Book" | 65 | Then I should see "Book" |
@@ -70,7 +70,7 @@ Feature: categories_block | @@ -70,7 +70,7 @@ Feature: categories_block | ||
70 | @selenium | 70 | @selenium |
71 | Scenario: List just general categories | 71 | Scenario: List just general categories |
72 | Given display ".button-bar" | 72 | Given display ".button-bar" |
73 | - And I follow "Edit" within ".categories-block" | 73 | + And I follow "Edit" within ".block-outer .categories-block" |
74 | And I check "Generic category" | 74 | And I check "Generic category" |
75 | When I press "Save" | 75 | When I press "Save" |
76 | Then I should see "Wood" | 76 | Then I should see "Wood" |
@@ -78,7 +78,7 @@ Feature: categories_block | @@ -78,7 +78,7 @@ Feature: categories_block | ||
78 | @selenium | 78 | @selenium |
79 | Scenario: List just regions | 79 | Scenario: List just regions |
80 | Given display ".button-bar" | 80 | Given display ".button-bar" |
81 | - And I follow "Edit" within ".categories-block" | 81 | + And I follow "Edit" within ".block-outer .categories-block" |
82 | And I check "Region" | 82 | And I check "Region" |
83 | When I press "Save" | 83 | When I press "Save" |
84 | Then I should see "Bahia" | 84 | Then I should see "Bahia" |
features/template_block_management.feature
@@ -26,7 +26,7 @@ Feature: user template | @@ -26,7 +26,7 @@ Feature: user template | ||
26 | Given I am on person's control panel | 26 | Given I am on person's control panel |
27 | And I follow "Edit sideboxes" | 27 | And I follow "Edit sideboxes" |
28 | And display ".button-bar" | 28 | And display ".button-bar" |
29 | - And I follow "Edit" within ".article-block" | 29 | + And I follow "Edit" within ".block-outer .article-block" |
30 | And I fill in "Custom title for this block:" with "Mirror" | 30 | And I fill in "Custom title for this block:" with "Mirror" |
31 | And I press "Save" | 31 | And I press "Save" |
32 | And I go to /profile/mario | 32 | And I go to /profile/mario |
@@ -37,7 +37,7 @@ Feature: user template | @@ -37,7 +37,7 @@ Feature: user template | ||
37 | Given I am on person's control panel | 37 | Given I am on person's control panel |
38 | And I follow "Edit sideboxes" | 38 | And I follow "Edit sideboxes" |
39 | And display ".button-bar" | 39 | And display ".button-bar" |
40 | - And I follow "Edit" within ".raw-html-block" | 40 | + And I follow "Edit" within ".block-outer .raw-html-block" |
41 | And I fill in "Custom title for this block:" with "Raw HTML Block" | 41 | And I fill in "Custom title for this block:" with "Raw HTML Block" |
42 | And I press "Save" | 42 | And I press "Save" |
43 | And I go to /profile/mario | 43 | And I go to /profile/mario |
@@ -48,7 +48,7 @@ Feature: user template | @@ -48,7 +48,7 @@ Feature: user template | ||
48 | Given I am on person's control panel | 48 | Given I am on person's control panel |
49 | And I follow "Edit sideboxes" | 49 | And I follow "Edit sideboxes" |
50 | And display ".button-bar" | 50 | And display ".button-bar" |
51 | - And I follow "Edit" within ".article-block" | 51 | + And I follow "Edit" within ".block-outer .article-block" |
52 | And I select "Cannot be moved" from "Move options:" | 52 | And I select "Cannot be moved" from "Move options:" |
53 | And I select "Cannot be modified" from "Edit options:" | 53 | And I select "Cannot be modified" from "Edit options:" |
54 | And I press "Save" | 54 | And I press "Save" |
@@ -61,4 +61,4 @@ Feature: user template | @@ -61,4 +61,4 @@ Feature: user template | ||
61 | And I go to /myprofile/mario | 61 | And I go to /myprofile/mario |
62 | And I follow "Edit sideboxes" | 62 | And I follow "Edit sideboxes" |
63 | And display ".button-bar" | 63 | And display ".button-bar" |
64 | - Then I should not see "Edit" within ".article-block" | 64 | + Then I should not see "Edit" within ".block-outer .article-block" |