From 2e47183b405b401cd3447cee9b41904b260cfaaf Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 13 Feb 2020 16:07:14 +0000 Subject: [PATCH] Added Tests for plugin manager --- src/app/components/plugin-manager-settings.js | 8 ++-- src/app/ui/modaldialog.js | 2 +- src/app/ui/persmission-handler.js | 8 ++-- test-browser/tests/plugin.js | 46 +++++++++++++++++-- 4 files changed, 51 insertions(+), 13 deletions(-) diff --git a/src/app/components/plugin-manager-settings.js b/src/app/components/plugin-manager-settings.js index f11f0f60f8..3dda640fba 100644 --- a/src/app/components/plugin-manager-settings.js +++ b/src/app/components/plugin-manager-settings.js @@ -89,9 +89,9 @@ export class PluginManagerSettings {
${checkbox} - +
- +
` } @@ -117,7 +117,7 @@ export class PluginManagerSettings { ? yo`

No Permission requested yet.

` : yo`

Current Permission settings

` - return yo`
+ return yo` ${title}
${permissions} @@ -127,7 +127,7 @@ export class PluginManagerSettings { render () { return yo`
- +
` } diff --git a/src/app/ui/modaldialog.js b/src/app/ui/modaldialog.js index 0c42bc6355..cbd0375192 100644 --- a/src/app/ui/modaldialog.js +++ b/src/app/ui/modaldialog.js @@ -130,7 +130,7 @@ module.exports = (title, content, ok, cancel, focusSelector, opts) => { function html (opts) { return yo` -