Closed Bug 596023 Opened 14 years ago Closed 11 years ago

[synchornization] update mozmill-tests on mozilla-central

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: k0scist, Assigned: cmtalbert)

References

Details

Attachments

(1 file, 3 obsolete files)

The mozmill-tests on mozilla-central is outdated.  They should be updated to include a subset of the tests on http://hg.mozilla.org/qa/mozmill-tests

Additionally, they should satisfy three criteria:
- the tests should not touch network outside of mozilla domains
- the tests should reliably run with Minefield and otherwise be stable
- bug 569831 probably blocks add-on tests
Depends on: 585086
(In reply to comment #0)
> - bug 569831 probably blocks add-on tests

Typo? But anyway, we do not plan to run add-on tests on buildbot. So please exclude those. For all the other tasks lets move over the dependencies.
Blocks: 595782
First set of Mozmill tests we can land:
* testAwesomeBar/testFaviconInAutocomplete.js
* testAwesomeBar/testGoButton.js
* testPreferences/testSetToCurrentPage.js
* testPrivateBrowsing/testCloseWindow.js
* testPrivateBrowsing/testStartStopPBMode.js
* testPrivateBrowsing/testTabRestoration.js
* testSessionStore/testUndoTabFromContextMenu.js
* testTechnicalTools/testAccessPageInfoDialog.js
* testToolbar/testBackForwardButtons.js

Please also include all files from:
* firefox/test-files/
* shared-modules/

All the above tests are using local test data and haven't been failed recently. We should be good to go with this set of initial tests.
Attached patch part 1 (obsolete) — Splinter Review
This is the first part of the patch.  It removes all the test directories we aren't using (plus the testPreferences directory accidentally, which is added back in the second patch).
Assignee: nobody → ctalbert
Status: NEW → ASSIGNED
Attachment #476255 - Flags: review?(hskupin)
Attached patch part 2 (obsolete) — Splinter Review
This adds in all the tests that you mentioned in your comment that we want to go live with first.  Please make sure I didn't miss anything.
Attachment #476259 - Flags: review?(hskupin)
Comment on attachment 476255 [details] [diff] [review]
part 1

Please also remove the orphaned / unused folders which are scripts, templates, and also add-ons. We will never use those on m-c.
Attachment #476255 - Flags: review?(hskupin) → review-
Comment on attachment 476259 [details] [diff] [review]
part 2

I'm missing the back and forward test from the testToolbar folder. Could you come up with a combined patch please? That would be perfect.
Attachment #476259 - Flags: review?(hskupin) → review-
(In reply to comment #6)
> Comment on attachment 476255 [details] [diff] [review]
> part 1
> 
> Please also remove the orphaned / unused folders which are scripts, templates,
> and also add-ons. We will never use those on m-c.
The patch does remove the folders from hg but it does not remove them when it is applied because hg has no notion of folders.  Unfortunately this leaves a bunch of local empty folders that you have to delete yourself.  We have the same problem with the mozmill folders too. :(
So where does the readme file come from? I always see it inside those folders which could be the reason?
Attached patch Initial tests [checked-in] (obsolete) — Splinter Review
Ok, sorry about that.  Here is the combined patch.  I've gone over this one a couple of times and it looks like everything is in there.  Please double check.
Attachment #476255 - Attachment is obsolete: true
Attachment #476259 - Attachment is obsolete: true
Attachment #476382 - Flags: review?(hskupin)
Comment on attachment 476382 [details] [diff] [review]
Initial tests [checked-in]

Patch looks fine. Did a couple of testruns on OS X and everything looks fine. Jeff, do you want to check test-runs on prepared buildbot references images before we go live?
Attachment #476382 - Flags: review?(hskupin) → review+
http://hg.mozilla.org/mozilla-central/rev/7e9bbef4434e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Lets leave this bug open for further checkins.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #476382 - Attachment description: Combined patch → Initial tests [checked-in]
Just for clarification. For the restart test please use firefox/restartTests/testDefaultBookmarks/
With bug 579965 fixed we now have 35 more tests which use local test data. We will check our boxes in the next day to figure out which tests can get run reliable for phase 2 on buildbot.
Status: REOPENED → NEW
Geo, Henrik, this is the current diff of your tests/shared-modules/test-files with what we currently have in m-c.  It represents changes you have made to mozilla-tests that have not happened yet on m-c.  Stated another way, this patch brings the stuff in m-c to parity with what is currently in mozilla-tests (it also includes the changes from bug 604365, so it should represent the most current state of the mozmill-tests).
Attachment #476382 - Attachment is obsolete: true
Attachment #484199 - Flags: review?(gmealer)
Comment on attachment 484199 [details] [diff] [review]
Update tests for going live on bbot

r+ing. Obviously a bit much to hand-check, but I talked to ctalbert re: how patch was made, and risk if it's wrong. It's easy enough to roll back, so let's go with it.
Attachment #484199 - Flags: review?(gmealer) → review+
Summary: update mozmill-tests on mozilla-central → [synchornization] update mozmill-tests on mozilla-central
Is this bug closable?
(In reply to Jeff Hammel [:jhammel] from comment #19)
> Is this bug closable?

yes
Status: NEW → RESOLVED
Closed: 14 years ago11 years ago
Resolution: --- → WONTFIX
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: