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