You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2021/10/11 15:02:13 UTC
[incubator-streampipes] branch dev updated: [hotfix] Fix cypress
test
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 6127dc0 [hotfix] Fix cypress test
6127dc0 is described below
commit 6127dc0a2807bd2fea9fc9ebe17747bf519d7dff
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon Oct 11 17:01:54 2021 +0200
[hotfix] Fix cypress test
---
.../streampipes/model/connect/adapter/GenericAdapterSetDescription.java | 1 -
ui/cypress/tests/adapter/persistInDataLake.ts | 2 ++
ui/package.json | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/GenericAdapterSetDescription.java b/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/GenericAdapterSetDescription.java
index 2acd048..a26cfd2 100644
--- a/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/GenericAdapterSetDescription.java
+++ b/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/GenericAdapterSetDescription.java
@@ -39,7 +39,6 @@ public class GenericAdapterSetDescription extends AdapterSetDescription implemen
public GenericAdapterSetDescription() {
super(ID, "GenericAdapterSetDescription", "");
-// setAdapterId(ID);
}
diff --git a/ui/cypress/tests/adapter/persistInDataLake.ts b/ui/cypress/tests/adapter/persistInDataLake.ts
index 5ef07b9..23926c9 100644
--- a/ui/cypress/tests/adapter/persistInDataLake.ts
+++ b/ui/cypress/tests/adapter/persistInDataLake.ts
@@ -19,10 +19,12 @@
import { AdapterUtils } from '../../support/utils/AdapterUtils';
import { PipelineUtils } from '../../support/utils/PipelineUtils';
import { GenericAdapterBuilder } from '../../support/builder/GenericAdapterBuilder';
+import { FileManagementUtils } from '../../support/utils/FileManagementUtils';
describe('Test File Stream Adapter', () => {
before('Setup Test', () => {
cy.initStreamPipesTest();
+ FileManagementUtils.addFile('fileTest/random.csv');
});
it('Perform Test', () => {
diff --git a/ui/package.json b/ui/package.json
index 736972a..81f6b31 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -107,7 +107,7 @@
"copy-webpack-plugin": "^5.1.2",
"css-loader": "^0.28.11",
"csv-string": "4.0.1",
- "cypress": "^7.5.0",
+ "cypress": "^7.7.0",
"cypress-file-upload": "5.0.7",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.6",