From 548c7312a1fa12821b69d5182186ce96627cfda7 Mon Sep 17 00:00:00 2001 From: Thiago Costa Porto Date: Fri, 20 Oct 2023 14:39:24 +0200 Subject: [PATCH 1/5] tests: add sanity e2e tests --- .../grid/frontend/src/lib/components/Badge.svelte | 2 +- .../authentication/DomainMetadataPanel.svelte | 5 ++++- .../src/lib/components/authentication/Nav.svelte | 6 ++++-- .../grid/frontend/tests/e2e/metadata-panel.spec.ts | 11 +++++++++++ packages/grid/frontend/tests/e2e/nav.spec.ts | 10 ++++++++++ packages/grid/frontend/tests/e2e/page.spec.ts | 13 +++++++++++++ 6 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 packages/grid/frontend/tests/e2e/metadata-panel.spec.ts create mode 100644 packages/grid/frontend/tests/e2e/nav.spec.ts create mode 100644 packages/grid/frontend/tests/e2e/page.spec.ts diff --git a/packages/grid/frontend/src/lib/components/Badge.svelte b/packages/grid/frontend/src/lib/components/Badge.svelte index 7947a9d9b37..9a123a0ab39 100644 --- a/packages/grid/frontend/src/lib/components/Badge.svelte +++ b/packages/grid/frontend/src/lib/components/Badge.svelte @@ -2,7 +2,7 @@ export let variant: 'gray' | 'primary-light' | 'primary-dark' = 'gray'; - + diff --git a/packages/grid/frontend/src/lib/components/authentication/DomainMetadataPanel.svelte b/packages/grid/frontend/src/lib/components/authentication/DomainMetadataPanel.svelte index ff8ab37017d..49e15d3ba0b 100644 --- a/packages/grid/frontend/src/lib/components/authentication/DomainMetadataPanel.svelte +++ b/packages/grid/frontend/src/lib/components/authentication/DomainMetadataPanel.svelte @@ -11,7 +11,10 @@ $: domainInitials = getInitials(metadata?.name); -
+
{#if metadata}
diff --git a/packages/grid/frontend/src/lib/components/authentication/Nav.svelte b/packages/grid/frontend/src/lib/components/authentication/Nav.svelte index d29320b9830..646e04dc644 100644 --- a/packages/grid/frontend/src/lib/components/authentication/Nav.svelte +++ b/packages/grid/frontend/src/lib/components/authentication/Nav.svelte @@ -9,11 +9,13 @@ }); -