Closed Bug 585782 Opened 14 years ago Closed 14 years ago

Make Mozmill-test testTabRestoration local

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: u279076, Assigned: u279076)

References

Details

(Whiteboard: [litmus-data])

Attachments

(2 files, 2 obsolete files)

Module: testPrivateBrowsing/testTabRestoration.js Test-page: Use any 2 pages from test-files/layout/mozilla*
Blocks: 579965
Assignee: nobody → anthony.s.hughes
Status: NEW → ASSIGNED
Attached patch Patch v1 (default) (obsolete) — Splinter Review
Attachment #464993 - Flags: review?(aaron.train)
Comment on attachment 464993 [details] [diff] [review] Patch v1 (default) >+ for (var i=0; i<LOCAL_TEST_PAGES.length; i++) { >+ var elem = new elementslib.ID(controller.tabs.getTab(i), LOCAL_TEST_PAGES[i].id); >+ controller.waitForElement(elem, TIMEOUT); >+ for (var i=0; i<LOCAL_TEST_PAGES.length; i++) { >+ var elem = new elementslib.ID(controller.tabs.getTab(i), LOCAL_TEST_PAGES[i].id); >+ controller.waitForElement(elem, TIMEOUT); Nit: Space between your declaration and conditions in the for statement
Attachment #464993 - Flags: review?(aaron.train) → review-
Attached patch Patch v2 (default) (obsolete) — Splinter Review
Attachment #464993 - Attachment is obsolete: true
Attachment #465020 - Flags: review?(aaron.train)
Attachment #465020 - Flags: review?(aaron.train) → review+
Attachment #465020 - Flags: review?(hskupin)
Comment on attachment 465020 [details] [diff] [review] Patch v2 (default) >+const LOCAL_TEST_PAGES = [ >+ {url: LOCAL_TEST_FOLDER + 'layout/mozilla_contribute.html', >+ id: 'localization'}, >+ {url: LOCAL_TEST_FOLDER + 'layout/mozilla_community.html', >+ id: 'history'} >+ ]; 2 blanks as indentation. > var setupModule = function(module) > { Would be great if you can also move up the opening brackets for all functions. >+ controller.assertJS("subject.tabs.length == " + (LOCAL_TEST_PAGES.length + 1), > controller); Please pass in both values as an object.
Attachment #465020 - Flags: review?(hskupin) → review-
Attachment #465020 - Attachment is obsolete: true
Attachment #465052 - Flags: review?(hskupin)
Attachment #465052 - Flags: review?(hskupin) → review+
> Created attachment 465052 [details] [diff] [review] > Patch v3 (default) Landed: http://hg.mozilla.org/qa/mozmill-tests/rev/2a6f2e02c13d (default) http://hg.mozilla.org/qa/mozmill-tests/rev/dcda10b86230 (mozilla1.9.2) Does not cleanly apply to mozilla1.9.1, patch forthcoming.
Attachment #465470 - Flags: review?(aaron.train)
Comment on attachment 465470 [details] [diff] [review] Patch v3 (mozilla1.9.1) r+, looks good
Attachment #465470 - Flags: review?(aaron.train) → review+
Attachment #465470 - Attachment description: Patch v3 (default) → Patch v3 (mozilla1.9.1)
Attachment #465470 - Flags: review?(hskupin)
Attachment #465470 - Flags: review?(hskupin) → review+
> Created attachment 465470 [details] [diff] [review] > Patch v3 (mozilla1.9.1) Landed on mozilla1.9.1: http://hg.mozilla.org/qa/mozmill-tests/rev/583bc6911cd5
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
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.
Product: Testing → Mozilla QA
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: