~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/stories/person/xx-person-bugs.txt

[rs=buildbot-poller] automatic merge from stable. Revisions: 14116,
        14117, 14118, 14119, 14120 included.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
= Bugs a given user is involved with =
 
1
Bugs a given user is involved with
 
2
==================================
2
3
 
3
4
When visiting the 'Bugs' facet of a person, the report that is displayed
4
5
lists the bug assigned to that person.
7
8
    >>> anon_browser.getLink('Bugs').click()
8
9
    >>> print anon_browser.title
9
10
    Related bugs
 
11
 
10
12
    >>> print anon_browser.url
11
13
    http://bugs.launchpad.dev/~name12
12
14
 
13
 
Note that we may see each bug more than once in case it's reported against
14
 
more than one target (https://launchpad.net/bugs/1357).
 
15
Note that we may see each bug more than once in case it's reported
 
16
against more than one target (https://launchpad.net/bugs/1357).
15
17
 
16
18
    >>> from lp.bugs.tests.bug import print_bugtasks
17
19
    >>> print_bugtasks(anon_browser.contents)
50
52
    Related bugs
51
53
 
52
54
 
53
 
== More specific listings ==
54
 
 
55
 
On a person bugs facet we get links to all listings of bugs we have for that
56
 
person.
57
 
 
58
 
 
59
 
=== Assigned bugs ===
 
55
More specific listings
 
56
----------------------
 
57
 
 
58
On a person bugs facet we get links to all listings of bugs we have for
 
59
that person.
 
60
 
 
61
 
 
62
Assigned bugs
 
63
.............
60
64
 
61
65
    >>> anon_browser.getLink('Assigned bugs').click()
62
66
    >>> print anon_browser.title
63
67
    Assigned bugs : Sample Person
 
68
 
64
69
    >>> print anon_browser.url
65
70
    http://bugs.launchpad.dev/~name12/+assignedbugs
66
71
 
73
78
        Confirmed
74
79
 
75
80
 
76
 
=== Commented bugs ===
 
81
Commented bugs
 
82
..............
77
83
 
78
84
    >>> anon_browser.getLink('Commented bugs').click()
79
85
    >>> print anon_browser.title
80
86
    Commented bugs : Sample Person
 
87
 
81
88
    >>> print anon_browser.url
82
89
    http://bugs.launchpad.dev/~name12/+commentedbugs
83
90
 
84
 
No Privileges Person has commented on two bugs, which will be returned by the
85
 
commented bug search (the bugs will be listed several times over; it is enough
86
 
for us to test for the first instances of each here. This is an instance of Bug
87
 
1357).
 
91
No Privileges Person has commented on two bugs, which will be returned
 
92
by the commented bug search (the bugs will be listed several times over;
 
93
it is enough for us to test for the first instances of each here. This
 
94
is an instance of Bug 1357).
88
95
 
89
96
    >>> print_bugtasks(anon_browser.contents)
90
97
    1 Firefox does not support SVG
94
101
    ...
95
102
 
96
103
 
97
 
=== Reported bugs ===
 
104
Reported bugs
 
105
.............
98
106
 
99
107
    >>> anon_browser.getLink('Reported bugs').click()
100
108
    >>> print anon_browser.title
101
109
    Reported bugs : Sample Person
 
110
 
102
111
    >>> print anon_browser.url
103
112
    http://bugs.launchpad.dev/~name12/+reportedbugs
104
113
 
123
132
        Launchpad Undecided New
124
133
 
125
134
 
126
 
=== Subscribed bugs ===
 
135
Subscribed bugs
 
136
...............
127
137
 
128
138
    >>> anon_browser.getLink('Subscribed bugs').click()
129
139
    >>> print anon_browser.title
130
140
    Subscribed bugs : Sample Person
 
141
 
131
142
    >>> print anon_browser.url
132
143
    http://bugs.launchpad.dev/~name12/+subscribedbugs
133
144
 
145
156
    13 Launchpad CSS and JS is not testible
146
157
        Launchpad Undecided New
147
158
 
148
 
=== Person bugs menu ===
149
 
 
150
 
The person bugs page can be accessed without being in the bugs
151
 
site, yet all the menu links point to the bugs site.
 
159
 
 
160
Person bugs menu
 
161
................
 
162
 
 
163
The person bugs page can be accessed without being in the bugs site, yet
 
164
all the menu links point to the bugs site.
152
165
 
153
166
    >>> anon_browser.open('http://launchpad.dev/~name12/+assignedbugs')
154
167
    >>> print anon_browser.getLink('Commented bugs').url
155
168
    http://bugs.launchpad.dev/~name12/+commentedbugs
 
169
 
156
170
    >>> print anon_browser.getLink('Reported bugs').url
157
171
    http://bugs.launchpad.dev/~name12/+reportedbugs
 
172
 
158
173
    >>> print anon_browser.getLink('Subscribed bugs').url
159
174
    http://bugs.launchpad.dev/~name12/+subscribedbugs
 
175
 
160
176
    >>> print anon_browser.getLink('All related bugs').url
161
177
    http://bugs.launchpad.dev/~name12
 
178
 
162
179
    >>> print anon_browser.getLink('Subscribed packages').url
163
180
    http://bugs.launchpad.dev/~name12/+packagebugs
 
181
 
164
182
    >>> anon_browser.open('http://launchpad.dev/~name12/+commentedbugs')
165
183
    >>> print anon_browser.getLink('Assigned bugs').url
166
184
    http://bugs.launchpad.dev/~name12/+assignedbugs
 
185
 
167
186
    >>> print anon_browser.getLink('Affecting bugs').url
168
187
    http://bugs.launchpad.dev/~name12/+affectingbugs
 
188