diff --git a/cypress/integration/schedules.spec.js b/cypress/integration/schedules.spec.js index 1495698a4..44a7d7f27 100644 --- a/cypress/integration/schedules.spec.js +++ b/cypress/integration/schedules.spec.js @@ -46,10 +46,6 @@ describe('Schedules View', () => { cy.get('[data-testid="schedule-name"]').should('exist'); cy.get('[data-testid="schedule-name"]').contains(scheduleId); - - cy.get('[data-testid="schedule-interval-frequency"]').contains( - 'Every 30sec', - ); }); }); @@ -74,10 +70,6 @@ describe('Schedules Edit', () => { cy.get('[data-testid="schedule-name"]').should('exist'); cy.get('[data-testid="schedule-name"]').contains(scheduleId); - cy.get('[data-testid="schedule-interval-frequency"]').contains( - 'Every 30sec', - ); - cy.get('#schedule-actions-menu-button').click(); cy.get('#schedule-actions-menu > [data-testid="edit-schedule"]').click(); cy.url().should('contain', `/schedules/${scheduleId}/edit`); diff --git a/src/lib/components/schedule/schedule-advanced-settings.svelte b/src/lib/components/schedule/schedule-advanced-settings.svelte index 532460b0f..5a0b06028 100644 --- a/src/lib/components/schedule/schedule-advanced-settings.svelte +++ b/src/lib/components/schedule/schedule-advanced-settings.svelte @@ -1,44 +1,50 @@ - -{#if show} -
- {translate('schedules', 'start-time')} - {spec?.startTime ?? translate('none')} -
-- {translate('schedules', 'end-time')}{spec?.endTime ?? translate('none')} -
-{translate('schedules', 'jitter')}{spec?.jitter ?? translate('none')}
-- {translate('schedules', 'exclusion-calendar')}{spec?.excludeCalendar?.[0] ?? - translate('none')} -
- {#if state?.limitedActions} ++ {translate('schedules', 'start-time')} + {spec?.startTime ?? translate('none')} +
++ {translate('schedules', 'end-time')}{spec?.endTime ?? translate('none')} +
+{translate('schedules', 'jitter')}{spec?.jitter ?? translate('none')}
++ {translate('schedules', 'exclusion-calendar')}{spec + ?.excludeCalendar?.[0] ?? translate('none')} +
+ {#if state?.limitedActions} ++ {translate('schedules', 'remaining-actions')}{state?.remainingActions ?? + translate('none')} +
+ {/if}- {translate('schedules', 'remaining-actions')}{state?.remainingActions ?? + {translate('schedules', 'overlap-policy')}{policies?.overlapPolicy ?? translate('none')}
{/if} -- {translate('schedules', 'overlap-policy')}{policies?.overlapPolicy ?? - translate('none')} -
-{/if} +{translate('status')} | diff --git a/src/lib/holocene/code-block.svelte b/src/lib/holocene/code-block.svelte index 1e0e1b01f..27d8dba92 100644 --- a/src/lib/holocene/code-block.svelte +++ b/src/lib/holocene/code-block.svelte @@ -15,8 +15,8 @@ async?: boolean; testId?: string; copyable?: boolean; - copyIconTitle: string; - copySuccessIconTitle: string; + copyIconTitle?: string; + copySuccessIconTitle?: string; }; type CopyableProps = Omit< diff --git a/src/lib/holocene/menu/menu.svelte b/src/lib/holocene/menu/menu.svelte index f618aa8b4..fb1bb74ac 100644 --- a/src/lib/holocene/menu/menu.svelte +++ b/src/lib/holocene/menu/menu.svelte @@ -1,9 +1,9 @@
---|