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/12/27 15:02:36 UTC
[incubator-streampipes] branch STREAMPIPES-483 updated: [STREAMPIPES-483] Validate that unit is stored when editing an event property
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch STREAMPIPES-483
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/STREAMPIPES-483 by this push:
new b9b45c7 [STREAMPIPES-483] Validate that unit is stored when editing an event property
b9b45c7 is described below
commit b9b45c7b1ffea6d054bfe1f501c7673d3290c41c
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Mon Dec 27 16:02:27 2021 +0100
[STREAMPIPES-483] Validate that unit is stored when editing an event property
---
ui/cypress/support/utils/ConnectEventSchemaUtils.ts | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/ui/cypress/support/utils/ConnectEventSchemaUtils.ts b/ui/cypress/support/utils/ConnectEventSchemaUtils.ts
index c42b932..50d01ab 100644
--- a/ui/cypress/support/utils/ConnectEventSchemaUtils.ts
+++ b/ui/cypress/support/utils/ConnectEventSchemaUtils.ts
@@ -78,11 +78,10 @@ export class ConnectEventSchemaUtils {
cy.dataCy('connect-schema-unit-to-dropdown').click().get('mat-option').contains(toUnit).click();
cy.dataCy('sp-save-edit-property').click();
- // TODO fix check when editing
- // cy.dataCy('edit-' + propertyName.toLowerCase(), { timeout: 10000 }).click({ force: true });
- // cy.dataCy('connect-schema-unit-from-input', { timeout: 10000 }).should('have.value', fromUnit);
- // cy.dataCy('connect-schema-unit-to-dropdown', { timeout: 10000 }).should('have.value', toUnit);
- // cy.dataCy('sp-save-edit-property').click();
+ cy.dataCy('edit-' + propertyName.toLowerCase(), { timeout: 10000 }).click({ force: true });
+ cy.dataCy('connect-schema-unit-from-input', { timeout: 10000 }).should('have.value', fromUnit);
+ cy.dataCy('connect-schema-unit-to-dropdown', { timeout: 10000 }).contains(toUnit);
+ cy.dataCy('sp-save-edit-property').click();
}
public static addStaticProperty(propertyName: string, propertyValue: string) {