diff -r 000000000000 -r 6474c204b198 services/sync/tests/tps/test_bug535326.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/services/sync/tests/tps/test_bug535326.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,130 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +/* + * The list of phases mapped to their corresponding profiles. The object + * here must be in strict JSON format, as it will get parsed by the Python + * testrunner (no single quotes, extra comma's, etc). + */ +EnableEngines(["tabs"]); + +var phases = { "phase1": "profile1", + "phase2": "profile2"}; + +var tabs1 = [ + { uri: "data:text/html,HowdyHowdy", + title: "Howdy", + profile: "profile1" + }, + { uri: "data:text/html,AmericaAmerica", + title: "America", + profile: "profile1" + }, + { uri: "data:text/html,AppleApple", + title: "Apple", + profile: "profile1" + }, + { uri: "data:text/html,ThisThis", + title: "This", + profile: "profile1" + }, + { uri: "data:text/html,BugBug", + title: "Bug", + profile: "profile1" + }, + { uri: "data:text/html,IRCIRC", + title: "IRC", + profile: "profile1" + }, + { uri: "data:text/html,TinderboxTinderbox", + title: "Tinderbox", + profile: "profile1" + }, + { uri: "data:text/html,FoxFox", + title: "Fox", + profile: "profile1" + }, + { uri: "data:text/html,HelloHello", + title: "Hello", + profile: "profile1" + }, + { uri: "data:text/html,EagleEagle", + title: "Eagle", + profile: "profile1" + }, + { uri: "data:text/html,TrainTrain", + title: "Train", + profile: "profile1" + }, + { uri: "data:text/html,MacbookMacbook", + title: "Macbook", + profile: "profile1" + }, + { uri: "data:text/html,ClockClock", + title: "Clock", + profile: "profile1" + }, + { uri: "data:text/html,GoogleGoogle", + title: "Google", + profile: "profile1" + }, + { uri: "data:text/html,HumanHuman", + title: "Human", + profile: "profile1" + }, + { uri: "data:text/html,JetpackJetpack", + title: "Jetpack", + profile: "profile1" + }, + { uri: "data:text/html,SeleniumSelenium", + title: "Selenium", + profile: "profile1" + }, + { uri: "data:text/html,MozillaMozilla", + title: "Mozilla", + profile: "profile1" + }, + { uri: "data:text/html,FirefoxFirefox", + title: "Firefox", + profile: "profile1" + }, + { uri: "data:text/html,WeaveWeave", + title: "Weave", + profile: "profile1" + }, + { uri: "data:text/html,AndroidAndroid", + title: "Android", + profile: "profile1" + }, + { uri: "data:text/html,ByeBye", + title: "Bye", + profile: "profile1" + }, + { uri: "data:text/html,HiHi", + title: "Hi", + profile: "profile1" + }, + { uri: "data:text/html,FinalFinal", + title: "Final", + profile: "profile1" + }, + { uri: "data:text/html,FennecFennec", + title: "Fennec", + profile: "profile1" + }, + { uri: "data:text/html,MobileMobile", + title: "Mobile", + profile: "profile1" + } +]; + +Phase('phase1', [ + [Tabs.add, tabs1], + [Sync] +]); + +Phase('phase2', [ + [Sync], + [Tabs.verify, tabs1] +]); +