From ec543aeeae6c7ed8aad51102e6546737eed5cde5 Mon Sep 17 00:00:00 2001 From: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com> Date: Thu, 11 Jul 2024 16:35:07 -0700 Subject: [PATCH] fix test rendering and lint --- .../chromedash-guide-intent-preview.js | 2 +- .../chromedash-intent-template_test.js | 1 - client-src/js-src/cs-client.js | 2 +- internals/reminders_test.py | 2 +- ...mail_tasks_escalated_feature_accuracy.html | 16 ----- ...st_build_email_tasks_feature_accuracy.html | 16 ----- ...ail_tasks_feature_accuracy_enterprise.html | 16 ----- .../test_html_rendering.html | 58 +++++++++---------- 8 files changed, 30 insertions(+), 83 deletions(-) diff --git a/client-src/elements/chromedash-guide-intent-preview.js b/client-src/elements/chromedash-guide-intent-preview.js index c6e1560d..8687ed3a 100644 --- a/client-src/elements/chromedash-guide-intent-preview.js +++ b/client-src/elements/chromedash-guide-intent-preview.js @@ -21,7 +21,7 @@ class ChromedashGuideIntentPreview extends LitElement { stage: {type: Object}, gate: {type: Object}, loading: {type: Boolean}, - subject: {type:String}, + subject: {type: String}, intentBody: {type: String}, displayFeatureUnlistedWarning: {type: Boolean}, }; diff --git a/client-src/elements/chromedash-intent-template_test.js b/client-src/elements/chromedash-intent-template_test.js index 8b15d0c7..4e34ef62 100644 --- a/client-src/elements/chromedash-intent-template_test.js +++ b/client-src/elements/chromedash-intent-template_test.js @@ -3,7 +3,6 @@ import {assert, fixture} from '@open-wc/testing'; import {ChromedashIntentTemplate} from './chromedash-intent-template'; describe('chromedash-intent-template', () => { - it('renders with fake data', async () => { const component = await fixture( html` - - - - -
- - - - - -
- - - - diff --git a/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy.html b/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy.html index bc183685..dd464256 100644 --- a/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy.html +++ b/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy.html @@ -58,27 +58,11 @@ -
- - - - -
- - - - - -
- - - - diff --git a/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy_enterprise.html b/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy_enterprise.html index 9b097f39..01d86d29 100644 --- a/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy_enterprise.html +++ b/internals/testdata/reminders_test/test_build_email_tasks_feature_accuracy_enterprise.html @@ -58,27 +58,11 @@ -
- - - - -
- - - - - -
- - - - diff --git a/pages/testdata/intentpreview_test/test_html_rendering.html b/pages/testdata/intentpreview_test/test_html_rendering.html index 2120a70b..b1bc02f5 100644 --- a/pages/testdata/intentpreview_test/test_html_rendering.html +++ b/pages/testdata/intentpreview_test/test_html_rendering.html @@ -139,33 +139,32 @@ limitations under the License.
-

Copy and send this text for your "Intent to ..." email

-

Email to

-
- blink-dev@chromium.org -
+

Copy and send this text for your "Intent to ..." email

+

Email to

+
+ blink-dev@chromium.org +
-

Subject

-
- Intent to Prototype: - feature one -
+

Subject

+
+ Intent to Prototype: + feature one +
+ +

Body + + + + + +

-

Body - - - - - -

- -