Closed
Bug 1197302
Opened 10 years ago
Closed 10 years ago
Hello functional test fails because of missing button
Categories
(Hello (Loop) :: Client, defect)
Hello (Loop)
Client
Tracking
(firefox43 fixed)
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: drno, Assigned: andreio)
References
Details
Attachments
(1 file, 1 obsolete file)
1.10 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
Since 15.08.15 the functional tests are failing: http://10.252.73.218:8080/view/hello/job/hello-e2e-marionette/
With this error message:
TEST-UNEXPECTED-ERROR | test_1_browser_call.py Test1BrowserCall.test_1_browser_call | NoSuchElementException: NoSuchElementException: Unable to locate element: .rooms .btn-info
Traceback (most recent call last):
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/venv/local/lib/python2.7/site-packages/marionette_client-0.18-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/marionette/tests/browser/components/loop/test/functional/test_1_browser_call.py", line 228, in test_1_browser_call
self.local_start_a_conversation()
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/marionette/tests/browser/components/loop/test/functional/test_1_browser_call.py", line 92, in local_start_a_conversation
button = self.marionette.find_element(By.CSS_SELECTOR, ".rooms .btn-info")
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/venv/local/lib/python2.7/site-packages/marionette_driver-0.12-py2.7.egg/marionette_driver/marionette.py", line 1579, in find_element
el = self._send_message("findElement", body, key="value")
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/venv/local/lib/python2.7/site-packages/marionette_driver-0.12-py2.7.egg/marionette_driver/decorators.py", line 36, in _
return func(*args, **kwargs)
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/venv/local/lib/python2.7/site-packages/marionette_driver-0.12-py2.7.egg/marionette_driver/marionette.py", line 711, in _send_message
self._handle_error(resp)
File "/home/mozilla/jenkins/workspace/hello-e2e-marionette/venv/local/lib/python2.7/site-packages/marionette_driver-0.12-py2.7.egg/marionette_driver/marionette.py", line 752, in _handle_error
raise errors.lookup(error)(message, stacktrace=stacktrace)
Reporter | ||
Updated•10 years ago
|
Summary: Hello functional tests fail because of missing button → Hello functional test fails because of missing button
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → andrei.br92
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8651354 -
Attachment is obsolete: true
Assignee | ||
Comment 3•10 years ago
|
||
`Mark Banner (:standard8) (away until 24 Aug) <standard8@mozilla.com> is not currently accepting 'review' requests.` Please review my patch :)
Flags: needinfo?(standard8)
Comment 4•10 years ago
|
||
Regressed from bug 1183638 where the new _renderNoRoomsView top level is div.room-list instead of div.rooms.
http://hg.mozilla.org/mozilla-central/rev/5c906eb9b8d9#l4.43
Should that top div for no-rooms also get .rooms?
Blocks: 1183638
Assignee | ||
Comment 5•10 years ago
|
||
I don't think it's worth changing now that this patch already fixes it.
Comment 6•10 years ago
|
||
Comment on attachment 8651357 [details] [diff] [review]
Fix Loop functional test
Looks good.
I agree we don't need .rooms there - .rooms is slightly ambiguous anyway - I prefer the new class names better.
Flags: needinfo?(standard8)
Attachment #8651357 -
Flags: review+
Comment 8•10 years ago
|
||
I landed this in the tree to get the tests passing earlier. Note I also updated the check-in comment a bit to be more descriptive and to reference that this isn't part of the build, so that we can use DONTBUILD on it and avoid the unnecessary build cycles.
Comment 9•10 years ago
|
||
Sounds good. I wasn't sure if there was a pattern of making sure a given React Class exposes the same css class at its top level. Also, when there's no rooms, .room-list is a parent of the new room button but when there are rooms, .room-list is its previous sibling.
Comment 10•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Updated•10 years ago
|
Iteration: --- → 43.1 - Aug 24
You need to log in
before you can comment on or make changes to this bug.
Description
•