Commit 9abc6b40124f5ecddff10c87d6c332d73f66313a
1 parent
211c0049
Exists in
master
and in
27 other branches
Remove low-value test file with broken test
Showing
1 changed file
with
0 additions
and
79 deletions
Show diff stats
features/my_network_block.feature
... | ... | @@ -1,79 +0,0 @@ |
1 | -Feature: my_network_block | |
2 | - As a blog owner | |
3 | - I want to see a summary of my network | |
4 | - | |
5 | - Background: | |
6 | - Given the following users | |
7 | - | login | name | | |
8 | - | joaosilva | Joao Silva | | |
9 | - And the following blocks | |
10 | - | owner | type | | |
11 | - | joaosilva | MyNetworkBlock | | |
12 | - | joaosilva | FriendsBlock | | |
13 | - And the following communities | |
14 | - | identifier | name | public_profile | | |
15 | - | public-community | Public Community | true | | |
16 | - And plugin FriendsBlock is enabled on environment | |
17 | - | |
18 | - @selenium | |
19 | - Scenario: display how many public/private communities I am member | |
20 | - Given I am logged in as "joaosilva" | |
21 | - And the following communities | |
22 | - | identifier | name | owner | public_profile | | |
23 | - | other-public-community | Other Public Community | joaosilva | true | | |
24 | - | private-community | Private Community | joaosilva | false | | |
25 | - And I am on joaosilva's homepage | |
26 | - And I should see "2 communities" | |
27 | - When I go to public-community's homepage | |
28 | - And I follow "Join" | |
29 | - And I go to joaosilva's homepage | |
30 | - Then I should see "3 communities" | |
31 | - | |
32 | - @selenium | |
33 | - Scenario: not display how many invisible communities I am member | |
34 | - Given I am logged in as "joaosilva" | |
35 | - And the following communities | |
36 | - | identifier | name | owner | visible | | |
37 | - | visible-community | Visible Community | joaosilva | true | | |
38 | - | not-visible-community | Not Visible Community | joaosilva | false | | |
39 | - And I am on joaosilva's homepage | |
40 | - And I should see "One community" | |
41 | - When I go to public-community's homepage | |
42 | - And I follow "Join" | |
43 | - And I go to joaosilva's homepage | |
44 | - Then I should see "2 communities" | |
45 | - | |
46 | - Scenario: display how many public/private friends I have | |
47 | - Given the following users | |
48 | - | login | name | public_profile | | |
49 | - | mariasilva | Maria Silva | true | | |
50 | - | josesilva | Jose Silva | false | | |
51 | - And the following blocks | |
52 | - | owner | type | | |
53 | - | mariasilva | FriendsBlock | | |
54 | - | josesilva | FriendsBlock | | |
55 | - And "joaosilva" is friend of "mariasilva" | |
56 | - And I am logged in as "joaosilva" | |
57 | - And I am on joaosilva's homepage | |
58 | - Then I should see "1 friend" | |
59 | - And "joaosilva" is friend of "josesilva" | |
60 | - When I go to joaosilva's homepage | |
61 | - Then I should see "2 friends" | |
62 | - | |
63 | - Scenario: not display how many invisible friends I have | |
64 | - Given the following users | |
65 | - | login | name | | |
66 | - | mariasilva | Maria Silva | | |
67 | - | josesilva | Jose Silva | | |
68 | - And the following blocks | |
69 | - | owner | type | | |
70 | - | mariasilva | FriendsBlock | | |
71 | - | josesilva | FriendsBlock | | |
72 | - And "josesilva" is invisible | |
73 | - And "joaosilva" is friend of "mariasilva" | |
74 | - And I am logged in as "joaosilva" | |
75 | - When I go to joaosilva's homepage | |
76 | - Then I should see "1 friend" | |
77 | - And "joaosilva" is friend of "josesilva" | |
78 | - When I go to joaosilva's homepage | |
79 | - Then I should see "1 friend" |