From 96a6a4f7e6ab3cb78cbb08006813113c6b0e6dbe Mon Sep 17 00:00:00 2001 From: Poff Poffenberger Date: Tue, 14 Jan 2020 23:07:08 +0000 Subject: [PATCH] [Canvas] Adds functional test for Canvas custom elements (#52920) (#54822) * Adds functional test for Canvas custom elements feedback cleanup * Opening up Canvas app first * Add skip firefox tag to custom element test --- .../custom_element_modal.examples.storyshot | 12 ++ .../custom_element_modal.tsx | 3 + .../public/lib/element_handler_creators.ts | 5 +- .../functional/apps/canvas/custom_elements.ts | 164 ++++++++++++++++++ x-pack/test/functional/apps/canvas/index.js | 1 + .../functional/page_objects/canvas_page.ts | 12 ++ 6 files changed, 196 insertions(+), 1 deletion(-) create mode 100644 x-pack/test/functional/apps/canvas/custom_elements.ts diff --git a/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot index efaa34001971e..a469f03a71e3e 100644 --- a/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot +++ b/x-pack/legacy/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot @@ -118,6 +118,7 @@ Array [