Closed
Bug 1132680
Opened 9 years ago
Closed 6 years ago
Convert Mozmill test 'remote/testSecurity/testMD5HashSignature.js' to Marionette
Categories
(Testing :: Firefox UI Tests, defect, P3)
Testing
Firefox UI Tests
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: galgeek, Unassigned)
References
Details
This bug will cover the necessary work to convert the following test into Marionette. http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/tests/remote/testSecurity/testMD5HashSignature.js
Comment 1•9 years ago
|
||
This test is blocked on handling modal dialogs which needs implementation via bug 887274.
Depends on: 887274
Whiteboard: [blocked]
Reporter | ||
Comment 2•9 years ago
|
||
The mozmill version of this test fails for me locally with the same error and apparent cause as reported in Bug 1109613 in December 2014. The mozmill test has apparently been skipped since then. It doesn't look like a simple conversion of this test is possible while Bug 1109613 remains unresolved. Note also that Bug 1109613 comment 8 reports that Gecko's xpcshell test suite includes similar tests. Should Firefox UI Tests cover this, too?
Comment 3•9 years ago
|
||
I would like to check this once we can actually test it. For now lets add the dependency for our testing site.
Depends on: 1109613
QA Contact: hskupin
Comment 4•8 years ago
|
||
We can now finally convert this test to Marionette. The only thing we have to keep in mind is that the test will currently fail for Nightly down to beta (44.0) due to the security center changes. So a bit of element tweaking should be necessary.
Whiteboard: [blocked]
Assignee | ||
Updated•8 years ago
|
Product: Mozilla QA → Testing
Updated•8 years ago
|
Assignee: nobody → jdorlus
Comment 5•8 years ago
|
||
Actually we are not blocked on bug 887274 for handling modal dialogs. We can easily access those without the Alert class. See my comment on bug 887274 comment 14. The dialog which opens is of type: http://mxr.mozilla.org/mozilla-central/source/security/manager/pki/resources/content/downloadcert.xul Steps we should do here: 1. Get a simple ui window class added for this dialog in puppeteer. Keep in mind to identify the dialog via the id and not the type (which is empty) 2. Update the test to use this newly created window class
No longer depends on: 887274
Comment 6•8 years ago
|
||
Btw here the lines which can be used to load the page and to work with the dialog:
> urlbar = self.browser.navbar.locationbar.urlbar
> urlbar.send_keys('http://mozqa.com/data/firefox/security/certificates/md5/importSSL.php')
> urlbar.send_keys(self.keys.RETURN)
Updated•8 years ago
|
Status: NEW → ASSIGNED
Comment 7•8 years ago
|
||
Scoped this for the Outreachy Project. NIing myself on it as a reminder.
Status: ASSIGNED → NEW
Flags: needinfo?(jdorlus)
Comment 8•8 years ago
|
||
This test has been deprioritized and we will not be doing it for outreachy.
Flags: needinfo?(jdorlus)
Comment 9•8 years ago
|
||
David, on bug 773477 you wrote that we have a good coverage of MD5 based certificates. That questions now if the test we had with Mozmill can simply be dropped. If that is the case we clearly don't want to work on converting it to a Marionette test. The test can be found here: http://hg.mozilla.org/qa/mozmill-tests/file/default/firefox/tests/remote/testSecurity/testMD5HashSignature.js I want to note that IT is updating the squid proxy in SCL3 and it will no longer work with MD5 certificates either. So if we need the test we would have to make sure to get it running via Taskcluster.
Flags: needinfo?(dkeeler)
We have good low-level tests for certificates signed with md5. The one thing this test adds is a check that the certificate error override UI works. If we have other integration tests that cover this, we don't need this specific test.
Flags: needinfo?(dkeeler)
Comment 11•8 years ago
|
||
(In reply to David Keeler [:keeler] (use needinfo?) from comment #10) > this test adds is a check that the certificate error override UI works. If > we have other integration tests that cover this, we don't need this specific > test. Whom could we ask about that? I do not know anything about such other integration tests you are referencing here.
Flags: needinfo?(dkeeler)
testMD5HashSignature.js appears to test that actually adding a certificate error override results in the user being able to visit the page. This doesn't appear to be present in other tests in that same directory. What I would do is take the lines from https://hg.mozilla.org/qa/mozmill-tests/file/d76a2a8414e3/firefox/tests/remote/testSecurity/testMD5HashSignature.js#l47 to the end of the function and add it to https://hg.mozilla.org/qa/mozmill-tests/file/tip/firefox/tests/remote/testSecurity/testUnknownIssuer.js and then remove testMD5HashSignature.js.
Flags: needinfo?(dkeeler)
Comment 13•8 years ago
|
||
David so you are saying that we don't need the specific md5 subdomain including the certificate anymore? Reason why I ask is because we lost any < SSLv3 support in SCL3 due to a recent ZEUS upgrade and the proxy not allowing those protocols anymore. If we would still need that we have to wait until all of our tests are running in Taskcluster.
Flags: needinfo?(dkeeler)
Yes, it doesn't need to be specific to md5.
Flags: needinfo?(dkeeler)
Updated•8 years ago
|
Assignee: jdorlus → nobody
Comment 16•6 years ago
|
||
The possibility to test this specific test scenario is gone. So there is nothing left on this bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•