Closed Bug 1129634 Opened 9 years ago Closed 5 years ago

Convert Mozmill test 'functional/testTabbedBrowsing/testNewTab.js' to Marionette

Categories

(Testing :: Firefox UI Tests, defect, P2)

Version 2
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Unassigned)

References

Details

(Whiteboard: [blocked])

This bug will cover the necessary work to do to convert the following test into Marionette.

http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/tests/functional/testTabbedBrowsing/testNewTab.js
I had a look at it and came out with the following proposal:

* We don't need any of the Australis related lines of code, given that there is no fallback to earlier versions of Firefox necessary anymore.

* I do not see a need why we have to open a specific URL. It will not give us any additional info about a number of tabs open.

* We have already covered the opening methods for menu, shortcut, and newTabButton inside the tabbar module. So only the tabStrip method is missing. Given that this is very specific and is behaving differently on platform versions, we should not include tabStrip into the tabbar module but leave it as a test.

* I also don't see that we have to do checks for about:newtab. This is clearly something which should go into those other tests.


To get this implemented here my feedback:

* Get a reference to the tabstrip element by using find_element via anon types. As parent the self.browser.tabbar.toolbar should be used.

* Call open_tab() by using a callback trigger and doing a double click on the tabstrip element inside of it.

* Do checks like the tabbar unit tests are doing for a strategy: https://github.com/mozilla/firefox-ui-tests/blob/master/firefox_puppeteer/tests/test_tabbar.py#L37
It looks like we are blocked on this test by not being able to issue a double click. See bug 1129702 for details.
Depends on: 1129702
Whiteboard: [blocked]
Priority: P1 → P2
Product: Mozilla QA → Testing

There is good coverage in browser chrome tests so this is not needed, and we are also going to remove the tests.

Status: NEW → RESOLVED
Closed: 5 years ago
QA Contact: hskupin
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.