Open Bug 1373561 Opened 2 years ago Updated 3 months ago

Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing | NoSuchElementException: Unable to locate element: learnMore

Categories

(Testing :: Firefox UI Tests, defect)

Version 3
defect
Not set

Tracking

(Not tracked)

REOPENED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: bulk-close-intermittents, intermittent-failure, Whiteboard: [stockwell unknown])

Here the stack:

04:54:10     INFO - Traceback (most recent call last):
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 157, in run
04:54:10     INFO -     testMethod()
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\tests\firefox-ui\tests\functional\private_browsing\test_about_private_browsing.py", line 58, in testCheckAboutPrivateBrowsing
04:54:10     INFO -     tab = pb_window.tabbar.open_tab(trigger=tab_opener)
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\venv\lib\site-packages\firefox_puppeteer\ui\browser\tabbar.py", line 129, in open_tab
04:54:10     INFO -     trigger(self.selected_tab)
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\tests\firefox-ui\tests\functional\private_browsing\test_about_private_browsing.py", line 55, in tab_opener
04:54:10     INFO -     link = tab.marionette.find_element(By.ID, 'learnMore')
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1819, in find_element
04:54:10     INFO -     return self._send_message("findElement", body, key="value")
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\venv\lib\site-packages\marionette_driver\decorators.py", line 23, in _
04:54:10     INFO -     return func(*args, **kwargs)
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\venv\lib\site-packages\marionette_driver\marionette.py", line 735, in _send_message
04:54:10     INFO -     self._handle_error(err)
04:54:10     INFO -   File "c:\jenkins\workspace\mozilla-central_functional\build\venv\lib\site-packages\marionette_driver\marionette.py", line 768, in _handle_error
04:54:10     INFO -     raise errors.lookup(error)(message, stacktrace=stacktrace)

The only thing I could imagine here is that the shown page running under chrome privileges hasn't been finished loading. And as such the link with the id "learnMore" is not present yet.
This seems to only happen in our own Mozmill-CI instance which report as tier-3. I should take a look at it at some point.
Summary: Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing | NoSuchElementException: Unable to locate element: learnMore → [tier-3] Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing | NoSuchElementException: Unable to locate element: learnMore
marking as [stockwell unknown] so we don't necessarily track it given that this job is tier-3.
Whiteboard: [stockwell unknown]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → VERIFIED
Duplicate of this bug: 1472798
Status: VERIFIED → REOPENED
Resolution: INCOMPLETE → ---
Blocks: 1491685
Summary: [tier-3] Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing | NoSuchElementException: Unable to locate element: learnMore → Intermittent test_about_private_browsing.py TestAboutPrivateBrowsing.testCheckAboutPrivateBrowsing | NoSuchElementException: Unable to locate element: learnMore
Duplicate of this bug: 1491685
You need to log in before you can comment on or make changes to this bug.