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

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


The following commit(s) were added to refs/heads/dev by this push:
     new 6860717  [hotfix] Fixe timestamps in file export
6860717 is described below

commit 686071730877f2e41deb038ab9092d423c795954
Author: Philipp Zehnder <[email protected]>
AuthorDate: Fri Dec 10 22:46:45 2021 +0100

    [hotfix] Fixe timestamps in file export
---
 .../apache/streampipes/dataexplorer/DataLakeManagementV4.java  | 10 +++++++---
 .../pipelineElement/enrich-jvm/jsEvaluator1/expected.csv       |  4 ++--
 .../pipelineElement/enrich-jvm/jsEvaluator2/expected.csv       |  4 ++--
 .../pipelineElement/enrich-jvm/valueChange1/expected.csv       |  4 ++--
 .../pipelineElement/filters-jvm/booleanFilter2/expected.csv    |  4 ++--
 .../pipelineElement/filters-jvm/textFilter2/expected.csv       |  2 +-
 .../filters-jvm/thresholdDetection1/expected.csv               |  4 ++--
 .../transformation-jvm/booleanCounter1/expected.csv            |  2 +-
 .../transformation-jvm/booleanInverter1/expected.csv           |  2 +-
 .../transformation-jvm/fieldRenamer1/expected.csv              |  2 +-
 .../transformation-jvm/signalEdgeFilter1/expected.csv          |  2 +-
 ui/cypress/tests/adapter/machineDataSimulator.smoke.spec.ts    |  2 +-
 ui/cypress/tests/adapter/persistInDataLake.smoke.spec.ts       |  2 +-
 ui/cypress/tests/adapter/randomDataSimulatorStream.ts          |  2 +-
 ui/cypress/tests/datalake/configuration.smoke.spec.ts          |  2 +-
 ui/cypress/tests/datalake/testSpecialCharactersInName.ts       |  2 +-
 .../tests/datalake/widgetDataConfiguration.smoke.spec.ts       |  2 +-
 ui/cypress/tests/datalake/widgets/table.ts                     |  2 +-
 .../tests/fileManagement/testFileManagement.smoke.spec.ts      |  2 +-
 ui/cypress/tests/pipeline/pipelineTest.smoke.spec.ts           |  2 +-
 ui/cypress/tests/pipelineElement/AllPipelineElements.spec.ts   |  2 +-
 ui/cypress/tests/pipelineElement/SinglePipelineElement.ts      |  4 ++--
 ui/cypress/tests/thirdparty/InfluxDb.smoke.spec.ts             |  2 +-
 ui/cypress/tests/thirdparty/Kafka.smoke.spec.ts                |  2 +-
 ui/cypress/tests/thirdparty/Mqtt.smoke.spec.ts                 |  2 +-
 ui/cypress/tests/thirdparty/MySQLDb.ts                         |  2 +-
 ui/cypress/tests/userManagement/addUserAdmin.smoke.spec.ts     |  2 +-
 .../userManagement/addUserDataExplorerAdmin.smoke.spec.ts      |  2 +-
 28 files changed, 40 insertions(+), 36 deletions(-)

diff --git 
a/streampipes-data-explorer/src/main/java/org/apache/streampipes/dataexplorer/DataLakeManagementV4.java
 
b/streampipes-data-explorer/src/main/java/org/apache/streampipes/dataexplorer/DataLakeManagementV4.java
index f9853fb..298674c 100644
--- 
a/streampipes-data-explorer/src/main/java/org/apache/streampipes/dataexplorer/DataLakeManagementV4.java
+++ 
b/streampipes-data-explorer/src/main/java/org/apache/streampipes/dataexplorer/DataLakeManagementV4.java
@@ -42,6 +42,7 @@ import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.time.*;
 import java.time.format.DateTimeFormatter;
+import java.time.format.DateTimeFormatterBuilder;
 import java.time.temporal.ChronoField;
 import java.time.temporal.ChronoUnit;
 import java.time.temporal.TemporalAccessor;
@@ -53,9 +54,11 @@ import static 
org.apache.streampipes.dataexplorer.v4.SupportedDataLakeQueryParam
 
 public class DataLakeManagementV4 {
 
-    private static final DateTimeFormatter formatter = 
DateTimeFormatter.ofPattern(
-            "yyyy-MM-dd'T'HH:mm:ss[.SSS]'Z'")
-            .withZone(ZoneId.of("UTC"));
+    private static final DateTimeFormatter formatter = new 
DateTimeFormatterBuilder()
+            
.appendPattern("uuuu[-MM[-dd]]['T'HH[:mm[:ss[.SSSSSSSSS][.SSSSSSSS][.SSSSSSS][.SSSSSS][.SSSSS][.SSSS][.SSS][.SS][.S]]]][XXX]")
+            .parseDefaulting(ChronoField.NANO_OF_SECOND, 0)
+            .parseDefaulting(ChronoField.OFFSET_SECONDS, 0)
+            .toFormatter();
 
     public List<DataLakeMeasure> getAllMeasurements() {
         return DataExplorerUtils.getInfos();
@@ -284,4 +287,5 @@ public class DataLakeManagementV4 {
         Instant instant = Instant.from(temporalAccessor);
         return Instant.EPOCH.until(instant, ChronoUnit.MILLIS);
     }
+
 }
diff --git 
a/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator1/expected.csv 
b/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator1/expected.csv
index 1826059..55d3116 100644
--- a/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator1/expected.csv
+++ b/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator1/expected.csv
@@ -2,10 +2,10 @@ time;numberlist
 1623871499055;2.0
 1623871500059;3.0
 1623871501064;4.0
-1623871502007;5.0
+1623871502070;5.0
 1623871503078;2.0
 1623871504082;3.0
 1623871505084;4.0
 1623871506086;5.0
 1623871507091;6.0
-1623871508093;7.0
\ No newline at end of file
+1623871508093;7.0
diff --git 
a/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator2/expected.csv 
b/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator2/expected.csv
index 4a22d63..c52f3fc 100644
--- a/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator2/expected.csv
+++ b/ui/cypress/fixtures/pipelineElement/enrich-jvm/jsEvaluator2/expected.csv
@@ -2,10 +2,10 @@ time;numberlist;plusone
 1623871499055;2.0;3.0
 1623871500059;3.0;4.0
 1623871501064;4.0;5.0
-1623871502007;5.0;6.0
+1623871502070;5.0;6.0
 1623871503078;2.0;3.0
 1623871504082;3.0;4.0
 1623871505084;4.0;5.0
 1623871506086;5.0;6.0
 1623871507091;6.0;7.0
-1623871508093;7.0;8.0
\ No newline at end of file
+1623871508093;7.0;8.0
diff --git 
a/ui/cypress/fixtures/pipelineElement/enrich-jvm/valueChange1/expected.csv 
b/ui/cypress/fixtures/pipelineElement/enrich-jvm/valueChange1/expected.csv
index f6575c9..deedcfc 100644
--- a/ui/cypress/fixtures/pipelineElement/enrich-jvm/valueChange1/expected.csv
+++ b/ui/cypress/fixtures/pipelineElement/enrich-jvm/valueChange1/expected.csv
@@ -2,10 +2,10 @@ time;ischanged;numberlist
 1623871499055;false;2.0
 1623871500059;false;3.0
 1623871501064;true;4.0
-1623871502007;false;5.0
+1623871502070;false;5.0
 1623871503078;false;2.0
 1623871504082;false;3.0
 1623871505084;true;4.0
 1623871506086;false;5.0
 1623871507091;false;6.0
-1623871508093;false;7.0
\ No newline at end of file
+1623871508093;false;7.0
diff --git 
a/ui/cypress/fixtures/pipelineElement/filters-jvm/booleanFilter2/expected.csv 
b/ui/cypress/fixtures/pipelineElement/filters-jvm/booleanFilter2/expected.csv
index bc21732..0eea969 100644
--- 
a/ui/cypress/fixtures/pipelineElement/filters-jvm/booleanFilter2/expected.csv
+++ 
b/ui/cypress/fixtures/pipelineElement/filters-jvm/booleanFilter2/expected.csv
@@ -1,6 +1,6 @@
 time;randomboolean
 1623871499055;false
 1623871500059;false
-1623871502007;false
+1623871502070;false
 1623871504082;false
-1623871506086;false
\ No newline at end of file
+1623871506086;false
diff --git 
a/ui/cypress/fixtures/pipelineElement/filters-jvm/textFilter2/expected.csv 
b/ui/cypress/fixtures/pipelineElement/filters-jvm/textFilter2/expected.csv
index 0b7999b..2877b52 100644
--- a/ui/cypress/fixtures/pipelineElement/filters-jvm/textFilter2/expected.csv
+++ b/ui/cypress/fixtures/pipelineElement/filters-jvm/textFilter2/expected.csv
@@ -1,5 +1,5 @@
 time;randomchar
 1623871499055;apple
-1623871502007;apple
+1623871502070;apple
 1623871505084;apple
 1623871508093;apple
diff --git 
a/ui/cypress/fixtures/pipelineElement/filters-jvm/thresholdDetection1/expected.csv
 
b/ui/cypress/fixtures/pipelineElement/filters-jvm/thresholdDetection1/expected.csv
index 399ebd4..a4d4d84 100644
--- 
a/ui/cypress/fixtures/pipelineElement/filters-jvm/thresholdDetection1/expected.csv
+++ 
b/ui/cypress/fixtures/pipelineElement/filters-jvm/thresholdDetection1/expected.csv
@@ -2,10 +2,10 @@ time;randomnumber;thresholddetected
 1623871499055;62.0;true
 1623871500059;46.0;false
 1623871501064;41.0;false
-1623871502007;41.0;false
+1623871502070;41.0;false
 1623871503078;22.0;false
 1623871504082;56.0;true
 1623871505084;95.0;true
 1623871506086;77.0;true
 1623871507091;85.0;true
-1623871508093;22.0;false
\ No newline at end of file
+1623871508093;22.0;false
diff --git 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanCounter1/expected.csv
 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanCounter1/expected.csv
index 5b4c2aa..715670f 100644
--- 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanCounter1/expected.csv
+++ 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanCounter1/expected.csv
@@ -1,6 +1,6 @@
 time;booleantocount;counter
 1623871499055;true;1
-1623871502007;false;2
+1623871502070;false;2
 1623871505084;true;3
 1623871507091;false;4
 1623871508093;true;5
diff --git 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanInverter1/expected.csv
 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanInverter1/expected.csv
index 4c9e8cd..35eeb28 100644
--- 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanInverter1/expected.csv
+++ 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/booleanInverter1/expected.csv
@@ -2,7 +2,7 @@ time;booleantoinvert
 1623871499055;false
 1623871500059;false
 1623871501064;false
-1623871502007;true
+1623871502070;true
 1623871503078;true
 1623871504082;true
 1623871505084;false
diff --git 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/fieldRenamer1/expected.csv
 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/fieldRenamer1/expected.csv
index 5b33351..cb49781 100644
--- 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/fieldRenamer1/expected.csv
+++ 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/fieldRenamer1/expected.csv
@@ -2,7 +2,7 @@ time;newname
 1623871499055;122.0
 1623871500059;123.0
 1623871501064;124.0
-1623871502007;125.0
+1623871502070;125.0
 1623871503078;126.0
 1623871504082;127.0
 1623871505084;128.0
diff --git 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/signalEdgeFilter1/expected.csv
 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/signalEdgeFilter1/expected.csv
index 2430d78..48599eb 100644
--- 
a/ui/cypress/fixtures/pipelineElement/transformation-jvm/signalEdgeFilter1/expected.csv
+++ 
b/ui/cypress/fixtures/pipelineElement/transformation-jvm/signalEdgeFilter1/expected.csv
@@ -1,6 +1,6 @@
 time;booleanedge
 1623871499055;true
-1623871502007;false
+1623871502070;false
 1623871505084;true
 1623871507091;false
 1623871508093;true
diff --git a/ui/cypress/tests/adapter/machineDataSimulator.smoke.spec.ts 
b/ui/cypress/tests/adapter/machineDataSimulator.smoke.spec.ts
index 87827a5..bd70350 100644
--- a/ui/cypress/tests/adapter/machineDataSimulator.smoke.spec.ts
+++ b/ui/cypress/tests/adapter/machineDataSimulator.smoke.spec.ts
@@ -20,7 +20,7 @@ import { AdapterUtils } from 
'../../support/utils/AdapterUtils';
 import { SpecificAdapterBuilder } from 
'../../support/builder/SpecificAdapterBuilder';
 
 describe('Test Random Data Simulator Stream Adapter', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/adapter/persistInDataLake.smoke.spec.ts 
b/ui/cypress/tests/adapter/persistInDataLake.smoke.spec.ts
index 23926c9..810e201 100644
--- a/ui/cypress/tests/adapter/persistInDataLake.smoke.spec.ts
+++ b/ui/cypress/tests/adapter/persistInDataLake.smoke.spec.ts
@@ -22,7 +22,7 @@ import { GenericAdapterBuilder } from 
'../../support/builder/GenericAdapterBuild
 import { FileManagementUtils } from '../../support/utils/FileManagementUtils';
 
 describe('Test File Stream Adapter', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
     FileManagementUtils.addFile('fileTest/random.csv');
   });
diff --git a/ui/cypress/tests/adapter/randomDataSimulatorStream.ts 
b/ui/cypress/tests/adapter/randomDataSimulatorStream.ts
index ed30a0c..e8c2e1d 100644
--- a/ui/cypress/tests/adapter/randomDataSimulatorStream.ts
+++ b/ui/cypress/tests/adapter/randomDataSimulatorStream.ts
@@ -20,7 +20,7 @@ import { AdapterUtils } from 
'../../support/utils/AdapterUtils';
 import { SpecificAdapterBuilder } from 
'../../support/builder/SpecificAdapterBuilder';
 
 describe('Test Random Data Simulator Stream Adapter', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/datalake/configuration.smoke.spec.ts 
b/ui/cypress/tests/datalake/configuration.smoke.spec.ts
index c821ba2..58170ac 100644
--- a/ui/cypress/tests/datalake/configuration.smoke.spec.ts
+++ b/ui/cypress/tests/datalake/configuration.smoke.spec.ts
@@ -22,7 +22,7 @@ import { DataLakeUtils } from 
'../../support/utils/DataLakeUtils';
 
 describe('Test Truncate data in datalake', () => {
 
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
     DataLakeUtils.loadRandomDataSetIntoDataLake();
   });
diff --git a/ui/cypress/tests/datalake/testSpecialCharactersInName.ts 
b/ui/cypress/tests/datalake/testSpecialCharactersInName.ts
index eaf88b9..69125c5 100644
--- a/ui/cypress/tests/datalake/testSpecialCharactersInName.ts
+++ b/ui/cypress/tests/datalake/testSpecialCharactersInName.ts
@@ -26,7 +26,7 @@ import { FileManagementUtils } from 
'../../support/utils/FileManagementUtils';
 
 describe('Test Table View in Data Explorer', () => {
 
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/datalake/widgetDataConfiguration.smoke.spec.ts 
b/ui/cypress/tests/datalake/widgetDataConfiguration.smoke.spec.ts
index 0647acc..46682a0 100644
--- a/ui/cypress/tests/datalake/widgetDataConfiguration.smoke.spec.ts
+++ b/ui/cypress/tests/datalake/widgetDataConfiguration.smoke.spec.ts
@@ -22,7 +22,7 @@ import { DataLakeUtils } from 
'../../support/utils/DataLakeUtils';
 
 describe('Test Table View in Data Explorer', () => {
 
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
     DataLakeUtils.loadDataIntoDataLake('datalake/sample.csv');
   });
diff --git a/ui/cypress/tests/datalake/widgets/table.ts 
b/ui/cypress/tests/datalake/widgets/table.ts
index 22ab275..26e21a5 100644
--- a/ui/cypress/tests/datalake/widgets/table.ts
+++ b/ui/cypress/tests/datalake/widgets/table.ts
@@ -21,7 +21,7 @@ import { DataLakeUtils } from 
'../../../support/utils/DataLakeUtils';
 
 describe('Test Table View in Data Explorer', () => {
 
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.login();
     // cy.initStreamPipesTest();
     // DataLakeUtils.loadRandomDataSetIntoDataLake();
diff --git a/ui/cypress/tests/fileManagement/testFileManagement.smoke.spec.ts 
b/ui/cypress/tests/fileManagement/testFileManagement.smoke.spec.ts
index c23cfe3..015b862 100644
--- a/ui/cypress/tests/fileManagement/testFileManagement.smoke.spec.ts
+++ b/ui/cypress/tests/fileManagement/testFileManagement.smoke.spec.ts
@@ -20,7 +20,7 @@ import { FileManagementUtils } from 
'../../support/utils/FileManagementUtils';
 
 
 describe('Test File Management', () => {
-    before('Setup Test', () => {
+    beforeEach('Setup Test', () => {
         cy.initStreamPipesTest();
     });
 
diff --git a/ui/cypress/tests/pipeline/pipelineTest.smoke.spec.ts 
b/ui/cypress/tests/pipeline/pipelineTest.smoke.spec.ts
index 946c492..d97059f 100644
--- a/ui/cypress/tests/pipeline/pipelineTest.smoke.spec.ts
+++ b/ui/cypress/tests/pipeline/pipelineTest.smoke.spec.ts
@@ -25,7 +25,7 @@ const adapterName = 'simulator';
 
 
 describe('Test Random Data Simulator Stream Adapter', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
     AdapterUtils.addMachineDataSimulator(adapterName);
   });
diff --git a/ui/cypress/tests/pipelineElement/AllPipelineElements.spec.ts 
b/ui/cypress/tests/pipelineElement/AllPipelineElements.spec.ts
index a2d473b..8e57a46 100644
--- a/ui/cypress/tests/pipelineElement/AllPipelineElements.spec.ts
+++ b/ui/cypress/tests/pipelineElement/AllPipelineElements.spec.ts
@@ -24,7 +24,7 @@ const allTests = Cypress.env('processingElements');
 allTests.forEach(test => {
 
   describe('Test Processor ' + test['name'], () => {
-    before('Setup Test', () => {
+    beforeEach('Setup Test', () => {
       cy.initStreamPipesTest();
     });
 
diff --git a/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts 
b/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
index 0f038c6..31463d8 100644
--- a/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
+++ b/ui/cypress/tests/pipelineElement/SinglePipelineElement.ts
@@ -22,14 +22,14 @@ import { ProcessorTest } from 
'../../support/model/ProcessorTest';
 const allTests = Cypress.env('processingElements');
 
 allTests.forEach(test => {
-  const testNames = ['textFilter2'];
+  const testNames = ['jsEvaluator1'];
 
   const processorTest = test as ProcessorTest;
 
   if (testNames.includes(processorTest.name)) {
 
     describe('Test Processor ' + test.dir, () => {
-      before('Setup Test', () => {
+      beforeEach('Setup Test', () => {
         cy.initStreamPipesTest();
       });
 
diff --git a/ui/cypress/tests/thirdparty/InfluxDb.smoke.spec.ts 
b/ui/cypress/tests/thirdparty/InfluxDb.smoke.spec.ts
index 3bae830..eeb6d2e 100644
--- a/ui/cypress/tests/thirdparty/InfluxDb.smoke.spec.ts
+++ b/ui/cypress/tests/thirdparty/InfluxDb.smoke.spec.ts
@@ -23,7 +23,7 @@ import { PipelineElementInput } from 
'../../support/model/PipelineElementInput';
 import { ParameterUtils } from '../../support/utils/ParameterUtils';
 
 describe('Test InfluxDB Integration', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/thirdparty/Kafka.smoke.spec.ts 
b/ui/cypress/tests/thirdparty/Kafka.smoke.spec.ts
index 8db6f1a..feab875 100644
--- a/ui/cypress/tests/thirdparty/Kafka.smoke.spec.ts
+++ b/ui/cypress/tests/thirdparty/Kafka.smoke.spec.ts
@@ -23,7 +23,7 @@ import { PipelineElementInput } from 
'../../support/model/PipelineElementInput';
 import { ParameterUtils } from '../../support/utils/ParameterUtils';
 
 describe('Test Kafka Integration', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/thirdparty/Mqtt.smoke.spec.ts 
b/ui/cypress/tests/thirdparty/Mqtt.smoke.spec.ts
index 0dc2ac2..dbe2f91 100644
--- a/ui/cypress/tests/thirdparty/Mqtt.smoke.spec.ts
+++ b/ui/cypress/tests/thirdparty/Mqtt.smoke.spec.ts
@@ -23,7 +23,7 @@ import { PipelineElementInput } from 
'../../support/model/PipelineElementInput';
 import { ParameterUtils } from '../../support/utils/ParameterUtils';
 
 describe('Test MQTT Integration', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/thirdparty/MySQLDb.ts 
b/ui/cypress/tests/thirdparty/MySQLDb.ts
index fa6de0b..ac661ba 100644
--- a/ui/cypress/tests/thirdparty/MySQLDb.ts
+++ b/ui/cypress/tests/thirdparty/MySQLDb.ts
@@ -23,7 +23,7 @@ import { PipelineElementInput } from 
'../../support/model/PipelineElementInput';
 import { ParameterUtils } from '../../support/utils/ParameterUtils';
 
 describe('Test MySQL Integration', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git a/ui/cypress/tests/userManagement/addUserAdmin.smoke.spec.ts 
b/ui/cypress/tests/userManagement/addUserAdmin.smoke.spec.ts
index 8a277c5..7510611 100644
--- a/ui/cypress/tests/userManagement/addUserAdmin.smoke.spec.ts
+++ b/ui/cypress/tests/userManagement/addUserAdmin.smoke.spec.ts
@@ -22,7 +22,7 @@ import { UserRole } from 
'../../../src/app/_enums/user-role.enum';
 import { UserUtils } from '../../support/utils/UserUtils';
 
 describe('Test User Management', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 
diff --git 
a/ui/cypress/tests/userManagement/addUserDataExplorerAdmin.smoke.spec.ts 
b/ui/cypress/tests/userManagement/addUserDataExplorerAdmin.smoke.spec.ts
index 37633cf..058d888 100644
--- a/ui/cypress/tests/userManagement/addUserDataExplorerAdmin.smoke.spec.ts
+++ b/ui/cypress/tests/userManagement/addUserDataExplorerAdmin.smoke.spec.ts
@@ -22,7 +22,7 @@ import { UserRole } from 
'../../../src/app/_enums/user-role.enum';
 import { UserUtils } from '../../support/utils/UserUtils';
 
 describe('Test User Management', () => {
-  before('Setup Test', () => {
+  beforeEach('Setup Test', () => {
     cy.initStreamPipesTest();
   });
 

Reply via email to