Closed
Bug 479314
Opened 15 years ago
Closed 15 years ago
Mozmill test for starting/stopping private browsing mode
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P2)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(status1.9.1 unaffected)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
status1.9.1 | --- | unaffected |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Whiteboard: [mozmill-smoketest][mozmill-privatebrowsing])
Attachments
(2 files, 3 obsolete files)
14.26 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
19.43 KB,
patch
|
aakashd
:
review+
|
Details | Diff | Splinter Review |
This bug will cover the work which is needed to create a MozMill test for https://litmus.mozilla.org/show_test.cgi?id=7394
Comment 1•15 years ago
|
||
This can be (and is afaik) done with automated tests... (especially now that the tests can be run without keep_current_session)
Assignee | ||
Comment 2•15 years ago
|
||
We probably already have automated tests here but these are unit tests and not functional tests. The way how MozMill handles the actions is totally different. We wanna detect failures while interacting with the ui.
Comment 3•15 years ago
|
||
FTR private browsing has browser-chrome tests as well. I'm not saying not to do this, just casually mentioning.
Comment 4•15 years ago
|
||
I think Natch is correct in comment 1, and this _can_ be written as a browser chrome test now, but from what I hear, MozMill is much better at handling these kinds of scenarios, so I'm willing to see what comes up here. :-) And as a general note, Henrik, I think with bug 476463 fixed, we can convert some of the current PB Litmus tests to automated tests. Do you have a list of those tests which seem appropriate for this job?
Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4) > I think Natch is correct in comment 1, and this _can_ be written as a browser > chrome test now, but from what I hear, MozMill is much better at handling these > kinds of scenarios, so I'm willing to see what comes up here. :-) If you can come up with such a chrome test it would be really helpful, because MozMill isn't integrated into the build system right now. Means all the tests aren't run automatically on each check-in. Regressions will be find to late in the circle. > And as a general note, Henrik, I think with bug 476463 fixed, we can convert > some of the current PB Litmus tests to automated tests. Do you have a list of > those tests which seem appropriate for this job? You mean tests which can be converted to automated tests? I think that Marcia can help out here. Marcia, do we have a private browsing subgroup in Litmus?
Comment 6•15 years ago
|
||
(In reply to comment #5) > (In reply to comment #4) > > I think Natch is correct in comment 1, and this _can_ be written as a browser > > chrome test now, but from what I hear, MozMill is much better at handling these > > kinds of scenarios, so I'm willing to see what comes up here. :-) > > If you can come up with such a chrome test it would be really helpful, because > MozMill isn't integrated into the build system right now. Means all the tests > aren't run automatically on each check-in. Regressions will be find to late in > the circle. Ah, OK. In that case, would you mind filing a new bug for that, please? :-) > > And as a general note, Henrik, I think with bug 476463 fixed, we can convert > > some of the current PB Litmus tests to automated tests. Do you have a list of > > those tests which seem appropriate for this job? > > You mean tests which can be converted to automated tests? Yup.
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6) > Ah, OK. In that case, would you mind filing a new bug for that, please? :-) Done. We can head over to bug 479720 for the automated tests.
Depends on: 479571
Comment 8•15 years ago
|
||
Thanks for filing that bug! BTW, I assume that you added the dependency on bug 479571 by mistake, right?
Assignee | ||
Comment 9•15 years ago
|
||
No. That was intended. I've only forgotten to give a comment for that. Sorry.
Comment 10•15 years ago
|
||
OK then, sorry for messing with your work. :-)
Updated•15 years ago
|
Priority: -- → P2
Target Milestone: --- → Firefox 3.1b3
Assignee | ||
Comment 11•15 years ago
|
||
Mike, this bug handles the MozMill test creation for the given Litmus test. It has nothing to do with Ehsans work on mc or 1.9.1. For the future just check the summary and if it contains "[mozmill]".
Target Milestone: Firefox 3.1b3 → ---
Assignee | ||
Comment 12•15 years ago
|
||
Clint, shall we checkin the patch even when it will not run via jsbridge? I don't think so because it will completely break mozmill. As what I can see now, it hangs and there is no progress. Probably it's worth filing a bug for Mozmill here too. I would at least attach the patch on this bug. Then we have to wait until bug 488772 has been fixed for checkin.
Comment 13•15 years ago
|
||
(In reply to comment #12) > Clint, shall we checkin the patch even when it will not run via jsbridge? What patch? It's not attached here :/ I don't see any issue with checking it in now so that we can get it into source control, and just put a comment that it shouldn't be run automatically once that gets hooked up. Since no test on build stuff is hooked up yet, there is no problem with checking it in now. I'd rather have it in source control than wait for some bug to clear the way to run it with functionality we don't currently have. :)
Assignee | ||
Comment 14•15 years ago
|
||
Clint, this is the first patch for review. It will run successfully with the latest trunk build of Mozmill. Could you please have a look into that?
Attachment #382291 -
Flags: review?(ctalbert)
Assignee | ||
Comment 15•15 years ago
|
||
It would be nice to not forget to qrefresh first. :)
Attachment #382291 -
Attachment is obsolete: true
Attachment #382292 -
Flags: review?(ctalbert)
Attachment #382291 -
Flags: review?(ctalbert)
Assignee | ||
Comment 16•15 years ago
|
||
Please blame me. That one should be fine. I'll stop working on this patch for today. :)
Attachment #382292 -
Attachment is obsolete: true
Attachment #382293 -
Flags: review?(ctalbert)
Attachment #382292 -
Flags: review?(ctalbert)
Comment 17•15 years ago
|
||
Comment on attachment 382293 [details] [diff] [review] Patch v1.2 r=ctalbert Awesome tests whimboo, I also see in your tests what I was doing wrong when trying to generalize the modal dialog for the preferences utils.
Attachment #382293 -
Flags: review?(ctalbert) → review+
Assignee | ||
Comment 18•15 years ago
|
||
I had a failure in checking for the titlemodifier. I have to use getAttribute to get the value. I've updated the patch. Taking over r+.
Attachment #382293 -
Attachment is obsolete: true
Attachment #382385 -
Flags: review+
Assignee | ||
Comment 19•15 years ago
|
||
Test checked in: http://hg.mozilla.org/qa/mozmill-tests/rev/253e06411e8e It will add tests for following litmus tests: 7394, 7395, 7443, 7463, 7643, and 7714.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: [mozmill] test for entering private browsing mode → [mozmill] Test for starting/stopping private browsing mode
Updated•15 years ago
|
status1.9.1:
--- → unaffected
Assignee | ||
Comment 20•15 years ago
|
||
I had to do a refactoring for those tests to match the style we need for reports of Mozmill. Lets reuse this bug because it applies to all written Private Browsing tests. Patch is upcoming.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 21•15 years ago
|
||
Complete refactoring of the private browsing tests so that we have mapped one Litmus test to one test function or module in Mozmill.
Attachment #400099 -
Flags: review?(adesai)
Comment 22•15 years ago
|
||
Comment on attachment 400099 [details] [diff] [review] Follow-up (refactoring) This fails on the latest mozmill-trunk, but passes on multiple attempts on OSX and XP using the latest MozMill release.
Attachment #400099 -
Flags: review?(adesai) → review+
Assignee | ||
Comment 23•15 years ago
|
||
Landed as: http://hg.mozilla.org/qa/mozmill-tests/rev/acc03852192d http://hg.mozilla.org/qa/mozmill-tests/rev/373633409461
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 24•14 years ago
|
||
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Private Browsing → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: private.browsing → mozmill-tests
Version: 3.5 Branch → unspecified
Status: RESOLVED → VERIFIED
Summary: [mozmill] Test for starting/stopping private browsing mode → Mozmill test for starting/stopping private browsing mode
Whiteboard: [mozmill-smoketest][mozmill-privatebrowsing]
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•