mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-17 08:43:31 +01:00
Back out most of the changes accidentally merged from key-processing.
--HG-- extra : rebase_source : a00510584f7e13917f8496e15b7dd36852d98ea7
This commit is contained in:
18
common/tests/functional/testAboutPage.js
Normal file
18
common/tests/functional/testAboutPage.js
Normal file
@@ -0,0 +1,18 @@
|
||||
var setupModule = function (module) {
|
||||
controller = mozmill.getBrowserController();
|
||||
};
|
||||
|
||||
var testAboutPage_WhenOpened_PageIsLoadedWithExpectedTitle = function () {
|
||||
const ABOUT_PAGE_URL = "about:pentadactyl";
|
||||
const EXPECTED_TITLE = "About Pentadactyl";
|
||||
const BLANK_PAGE_URL = "about:blank";
|
||||
|
||||
controller.open(BLANK_PAGE_URL);
|
||||
controller.waitForPageLoad(controller.tabs.activeTab);
|
||||
controller.open(ABOUT_PAGE_URL);
|
||||
controller.waitForPageLoad(controller.tabs.activeTab);
|
||||
|
||||
controller.assert(function () controller.tabs.activeTab.title === EXPECTED_TITLE);
|
||||
};
|
||||
|
||||
// vim: sw=4 ts=8 et:
|
||||
Reference in New Issue
Block a user