From f51d8a4d4551b786a702d43f1bc6225f4d3d1e1e Mon Sep 17 00:00:00 2001 From: Roy Endo <67675319+royendo@users.noreply.github.com> Date: Thu, 2 Jan 2025 09:17:55 -0700 Subject: [PATCH] E2E svelte labels (#6322) * Adding Refresh Model and Refresh Incremental Model labels * label RD Export button. In RD, due to if statement, label not being define on button. ModelRefreshButton[label] -> ExportMenu[label] -> ToolTip Not sure why its label vs aria-label though * prettified, is that a word? --- web-common/src/features/exports/ExportMenu.svelte | 2 +- .../src/features/models/incremental/ModelRefreshButton.svelte | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/web-common/src/features/exports/ExportMenu.svelte b/web-common/src/features/exports/ExportMenu.svelte index 96ab47d6c50..9485ceaee76 100644 --- a/web-common/src/features/exports/ExportMenu.svelte +++ b/web-common/src/features/exports/ExportMenu.svelte @@ -41,7 +41,7 @@ {#if workspace} - Export model diff --git a/web-common/src/features/models/incremental/ModelRefreshButton.svelte b/web-common/src/features/models/incremental/ModelRefreshButton.svelte index 9dfbd022ae2..f7d5e8460d2 100644 --- a/web-common/src/features/models/incremental/ModelRefreshButton.svelte +++ b/web-common/src/features/models/incremental/ModelRefreshButton.svelte @@ -40,6 +40,7 @@ type="secondary" builders={[builder]} disabled={!isModelIdle || hasUnsavedChanges} + label="Refresh Incremental Model" > @@ -67,6 +68,7 @@ square disabled={hasUnsavedChanges} type="secondary" + label="Refresh Model" on:click={() => refreshModel(true)} >