Auto-tools/Projects/CrossWeave/Test Format: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 83: Line 83:
=== Phase Actions ===
=== Phase Actions ===


== Putting It All Together ===
== Putting It All Together ==


Combining the test case blocks above into one file, we now have a complete test case:
Combining the test case blocks above into one file, we now have a complete test case:
  {
    "setup": {
      "profiles": ["profile1", "profileGesundheit"]
    },
    "bookmark-list-1": {
      "menu": [
        { "uri": "http://www.apple.com/iphone/", "title": "iPhone" },
        { "uri": "http://bugzilla.mozilla.org/show_bug.cgi?id=%s", "title": "Bugzilla", "keyword": "bugzilla" },
        { "separator": true },
        { "uri": "http://www.mozilla.com" }
      ]
    },
    "phase1": {
      "profile": "profile1",
      "actions": [
        { "add": { "bookmarks": "bookmark-list-1" },
        { "sync": "all", "wipe-server": true }
      ]
    },
    "phase2": {
      "profile": "profileGesundheit",
      "actions": [
        { "sync": "all" },
        { "verify": { "bookmarks": "bookmark-list-1" }
      ]
    }
  }
Confirmed users
1,905

edits

Navigation menu