From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../client/commandline/test/browser_cmd_qsa.js | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 devtools/client/commandline/test/browser_cmd_qsa.js (limited to 'devtools/client/commandline/test/browser_cmd_qsa.js') diff --git a/devtools/client/commandline/test/browser_cmd_qsa.js b/devtools/client/commandline/test/browser_cmd_qsa.js new file mode 100644 index 000000000..551d47739 --- /dev/null +++ b/devtools/client/commandline/test/browser_cmd_qsa.js @@ -0,0 +1,33 @@ +/* Any copyright is dedicated to the Public Domain. +* http://creativecommons.org/publicdomain/zero/1.0/ */ + +"use strict"; + +// Tests that the qsa commands work as they should. + +const TEST_URI = "data:text/html;charset=utf-8,"; + +function test() { + helpers.addTabWithToolbar(TEST_URI, function (options) { + return helpers.audit(options, [ + { + setup: "qsa", + check: { + input: "qsa", + hints: " [query]", + markup: "VVV", + status: "VALID" + } + }, + { + setup: "qsa body", + check: { + input: "qsa body", + hints: "", + markup: "VVVVVVVV", + status: "VALID" + } + } + ]); + }).then(finish, helpers.handleError); +} -- cgit v1.2.3