diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-02 20:42:28 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-02-02 20:42:28 +0100 |
commit | f34094bae31e216228d5c2da2f2461d03df38302 (patch) | |
tree | be78d0059fafcf0bfc451b9add9a0dbd175a4a85 /devtools/client/inspector/test | |
parent | 9627f18cebab38cdfe45592d83371ee7bbc62cfa (diff) | |
download | UXP-f34094bae31e216228d5c2da2f2461d03df38302.tar UXP-f34094bae31e216228d5c2da2f2461d03df38302.tar.gz UXP-f34094bae31e216228d5c2da2f2461d03df38302.tar.lz UXP-f34094bae31e216228d5c2da2f2461d03df38302.tar.xz UXP-f34094bae31e216228d5c2da2f2461d03df38302.zip |
Add a "copy full CSS path" option to the inspector's menu
Issue #3
Diffstat (limited to 'devtools/client/inspector/test')
-rw-r--r-- | devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js | 1 | ||||
-rw-r--r-- | devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js b/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js index 59dbbbcc0..052e9da68 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js +++ b/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js @@ -26,6 +26,7 @@ const ALL_MENU_ITEMS = [ "node-menu-copyinner", "node-menu-copyouter", "node-menu-copyuniqueselector", + "node-menu-copycsspath", "node-menu-copyimagedatauri", "node-menu-delete", "node-menu-pseudo-hover", diff --git a/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js b/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js index 0c96e9bbe..57a5dbaa0 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js +++ b/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js @@ -26,6 +26,12 @@ const COPY_ITEMS_TEST_DATA = [ text: "body > div:nth-child(1) > p:nth-child(2)", }, { + desc: "copy css path", + id: "node-menu-copycsspath", + selector: "[data-id=\"copy\"]", + text: "html body div p", + }, + { desc: "copy image data uri", id: "node-menu-copyimagedatauri", selector: "#copyimage", |