This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new fa6ee977d6 fix: Various cypress tests (#3368)
fa6ee977d6 is described below

commit fa6ee977d681d74a3cc87f447b1a6c83d703e700
Author: Dominik Riemer <[email protected]>
AuthorDate: Tue Dec 3 07:24:03 2024 +0100

    fix: Various cypress tests (#3368)
---
 ui/cypress/tests/datalake/timeRangeSelectors.spec.ts      | 15 +++++++++------
 ui/cypress/tests/pipelineElement/SinglePipelineElement.ts |  2 +-
 .../static-one-of-input.component.html                    |  4 +---
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts 
b/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts
index efecf9fc9b..21a1604fb3 100644
--- a/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts
+++ b/ui/cypress/tests/datalake/timeRangeSelectors.spec.ts
@@ -28,12 +28,15 @@ import {
 
 describe('Test Time Range Selectors in Data Explorer', () => {
     const periods = [
-        { selector: 1, start: (now: Date) => subMinutes(now, 15) },
-        { selector: 2, start: (now: Date) => subHours(now, 1) },
-        { selector: 4, start: (now: Date) => subDays(now, 1) },
-        { selector: 6, start: (now: Date) => subWeeks(now, 1) },
-        { selector: 8, start: (now: Date) => subMonths(now, 1) },
-        { selector: 10, start: (now: Date) => subYears(now, 1) },
+        {
+            selector: 'last-15-minutes',
+            start: (now: Date) => subMinutes(now, 15),
+        },
+        { selector: 'last-hour', start: (now: Date) => subHours(now, 1) },
+        { selector: 'last-day', start: (now: Date) => subDays(now, 1) },
+        { selector: 'last-week', start: (now: Date) => subWeeks(now, 1) },
+        { selector: 'last-month', start: (now: Date) => subMonths(now, 1) },
+        { selector: 'last-year', start: (now: Date) => subYears(now, 1) },
     ];
 
     const timeRangeFrom = 'time-selector-start-time';
diff --git a/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts 
b/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
index 3bdac4f86a..f27c485d30 100644
--- a/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
+++ b/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
@@ -22,7 +22,7 @@ import { ProcessorTest } from 
'../../support/model/ProcessorTest';
 const allTests = Cypress.env('processingElements');
 
 allTests.forEach(test => {
-    const testNames = ['splitArray1'];
+    const testNames = ['numericalFilter1'];
 
     const processorTest = test as ProcessorTest;
 
diff --git 
a/ui/src/app/core-ui/static-properties/static-one-of-input/static-one-of-input.component.html
 
b/ui/src/app/core-ui/static-properties/static-one-of-input/static-one-of-input.component.html
index dc1e6742fe..94952b5794 100644
--- 
a/ui/src/app/core-ui/static-properties/static-one-of-input/static-one-of-input.component.html
+++ 
b/ui/src/app/core-ui/static-properties/static-one-of-input/static-one-of-input.component.html
@@ -17,9 +17,7 @@
   -->
 
 <div id="formWrapper" fxFlex="100" fxLayout="column">
-    @if (
-        !staticProperty.horizontalRendering && staticProperty.options.length < 
5
-    ) {
+    @if (!staticProperty.horizontalRendering) {
         <div fxLayout="column">
             <div fxFlex fxLayout="row">
                 <div fxLayout="column" style="margin-left: 10px">

Reply via email to