Commit 8227afa8fa33e95dcffd3c54dc8afcdf9b826314
1 parent
f0ec4fa4
Exists in
staging
and in
35 other branches
Remove features/template_block_management.feature
It is redundant, as the feature that it is supposed to test can be completed tested with less expensive tests.
Showing
1 changed file
with
0 additions
and
64 deletions
Show diff stats
features/template_block_management.feature
@@ -1,64 +0,0 @@ | @@ -1,64 +0,0 @@ | ||
1 | -Feature: user template | ||
2 | - As an user | ||
3 | - I want to create templates with mirror blocks | ||
4 | - In order to keep these blocks always updated | ||
5 | - | ||
6 | - Background: | ||
7 | - Given the following users | ||
8 | - | login | name | is_template | | ||
9 | - | person | person | true | | ||
10 | - And the following blocks | ||
11 | - | owner | type | mirror | | ||
12 | - | person | ArticleBlock | true | | ||
13 | - | person | RawHTMLBlock | false | | ||
14 | - And I go to /account/signup | ||
15 | - And I fill in "Username" with "mario" | ||
16 | - And I fill in "Password" with "123456" | ||
17 | - And I fill in "Password confirmation" with "123456" | ||
18 | - And I fill in "e-Mail" with "mario@mario.com" | ||
19 | - And I fill in "Full name" with "Mario" | ||
20 | - And wait for the captcha signup time | ||
21 | - And I press "Create my account" | ||
22 | - And I am logged in as admin | ||
23 | - | ||
24 | - @selenium | ||
25 | - Scenario: The block Article name is changed | ||
26 | - Given I am on person's control panel | ||
27 | - And I follow "Edit sideboxes" | ||
28 | - And display ".button-bar" | ||
29 | - And I follow "Edit" within ".block-outer .article-block" | ||
30 | - And I fill in "Custom title for this block:" with "Mirror" | ||
31 | - And I press "Save" | ||
32 | - And I go to /profile/mario | ||
33 | - Then I should see "Mirror" | ||
34 | - | ||
35 | - @selenium | ||
36 | - Scenario: The block LinkList is changed but the user's block doesnt change | ||
37 | - Given I am on person's control panel | ||
38 | - And I follow "Edit sideboxes" | ||
39 | - And display ".button-bar" | ||
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" | ||
42 | - And I press "Save" | ||
43 | - And I go to /profile/mario | ||
44 | - Then I should not see "Raw HTML Block" | ||
45 | - | ||
46 | - @selenium | ||
47 | - Scenario: The block Article cannot move or modify | ||
48 | - Given I am on person's control panel | ||
49 | - And I follow "Edit sideboxes" | ||
50 | - And display ".button-bar" | ||
51 | - And I follow "Edit" within ".block-outer .article-block" | ||
52 | - And I select "Cannot be moved" from "Move options:" | ||
53 | - And I select "Cannot be modified" from "Edit options:" | ||
54 | - And I press "Save" | ||
55 | - And I follow "Logout" | ||
56 | - And Mario's account is activated | ||
57 | - And I follow "Login" | ||
58 | - And I fill in "Username / Email" with "mario" | ||
59 | - And I fill in "Password" with "123456" | ||
60 | - And I press "Log in" | ||
61 | - And I go to /myprofile/mario | ||
62 | - And I follow "Edit sideboxes" | ||
63 | - And display ".button-bar" | ||
64 | - Then I should not see "Edit" within ".block-outer .article-block" |