Unverified Commit c882ddc3 authored by boklm's avatar boklm
Browse files

Add a mozmill test to visit check.tpo and take a screenshot

parent e2a1462c
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
// Include this if opening relocatable, potentially remotely located files
const BASE_URL = collector.addHttpResource("../mozilla-mozmill-tests/data/");
const TEST_DATA = BASE_URL + "path/file.html";
// Include this if opening external urls
// const TEST_DATA = "http://www.external.url/path/file.html";
// Include this only if specifying a timeout other than 5000ms
var screenshot = require("../mozilla-mozmill-tests/firefox/lib/screenshot");
// Setup for the test
var setupModule = function(aModule) {
aModule.controller = mozmill.getBrowserController();
// Run the test
var testStartTBB = function() {
screenshot.create(controller, []);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment