[ 
https://issues.apache.org/jira/browse/STREAMPIPES-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451876#comment-17451876
 ] 

Hrushikesh Rao edited comment on STREAMPIPES-476 at 12/1/21, 3:05 PM:
----------------------------------------------------------------------

Hey,

I got stuck implementing the test. I am getting this error which I am unable to 
debug. 

 
{code:java}
 Timed out retrying after 4000ms:
 
Expected to find element: [data-cy=operationBytes], but never found it.

 cypress/support/general/dataCy.ts:34:19

 return cy.get(`[data-cy=${value}]`, config);
 } else { 
  return cy.get(`[data-cy=${value}]`);
 }
};{code}
{{}}
{code:java}
{
  "name": "size_measure",
  "config": [
    {"type":  "radio", "selector": "size", "value": "Kilobytes (1024 Bytes)"}
  ]
} {code}
The above code is my description file.

For the type radio,  does the value of selector needs to be the css class?

 

!Screenshot from 2021-12-01 20-21-04.png|width=433,height=140!

I am unable to select the radio tag.

 

Also size measure takes a steam of data. How do I represent a stream of data in 
input.csv file? 


was (Author: hrushi20):
Hey,

I got stuck implementing the test. I am getting this error which I am unable to 
debug. 

 
{code:java}
 Timed out retrying after 4000ms:
 
Expected to find element: [data-cy=operationBytes], but never found it.

 cypress/support/general/dataCy.ts:34:19

 return cy.get(`[data-cy=${value}]`, config);
 } else { 
  return cy.get(`[data-cy=${value}]`);
 }
};{code}
{{}}
{code:java}
{
  "name": "size_measure",
  "config": [
    {"type":  "radio", "selector": "size", "value": "Kilobytes (1024 Bytes)"}
  ]
} {code}
The above code is my description file.

For the type radio,  does the value of selector needs to be the css class?

 

!Screenshot from 2021-12-01 20-21-04.png|width=433,height=140!

I am unable to select the radio tag.

 

> Implementation of Pipeline Tests
> --------------------------------
>
>                 Key: STREAMPIPES-476
>                 URL: https://issues.apache.org/jira/browse/STREAMPIPES-476
>             Project: StreamPipes
>          Issue Type: Test
>          Components: UI
>            Reporter: Hrushikesh Rao
>            Priority: Major
>              Labels: test
>             Fix For: 0.69.0
>
>         Attachments: Screenshot from 2021-12-01 20-21-04.png
>
>
> Implementing e2e test using cypress for pipeline Elements.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to