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

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


The following commit(s) were added to refs/heads/STREAMPIPES-380 by this push:
     new f2e9be4  [STREAMPIPES-380] Add check to cypress when no timestamp is 
available in event schema
f2e9be4 is described below

commit f2e9be412ccb4a2a0a1a62e3885e7cc39a7ad74f
Author: Philipp Zehnder <[email protected]>
AuthorDate: Thu Jun 24 12:08:21 2021 +0200

    [STREAMPIPES-380] Add check to cypress when no timestamp is available in
    event schema
---
 ui/cypress/support/utils/AdapterUtils.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ui/cypress/support/utils/AdapterUtils.ts 
b/ui/cypress/support/utils/AdapterUtils.ts
index b2e2cbf..202144b 100644
--- a/ui/cypress/support/utils/AdapterUtils.ts
+++ b/ui/cypress/support/utils/AdapterUtils.ts
@@ -142,7 +142,7 @@ export class AdapterUtils {
 
     private static markPropertyAsTimestamp(propertyName: string) {
         it('Mark property as timestamp', () => {
-
+            cy.get('#event-schema-next-button').should('be.disabled');
             // Edit timestamp
             cy.dataCy('edit-' + propertyName).click();
 
@@ -151,6 +151,8 @@ export class AdapterUtils {
 
             // Close
             cy.dataCy('sp-save-edit-property').click();
+
+            
cy.get('#event-schema-next-button').parent().should('not.be.disabled');
         });
     }
 

Reply via email to