testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

Some API's are failing with TestCafe framework due to which data is not rendering on UI

Open shaheemanjum opened this issue 1 year ago • 4 comments

File a new question on StackOverflow

https://stackoverflow.com/questions/73288615/some-apis-are-failing-with-testcafe-framework-due-to-which-data-is-not-renderin

shaheemanjum avatar Aug 09 '22 10:08 shaheemanjum

Thank you for your inquiry. This issue looks like a question that would be best asked on StackOverflow - an amazing platform for users to ask and answer questions. We try to keep the GitHub issues tracker for bugs and feature requests only (see Contributing).

If you think that this issue is a bug, feel free to open a new issue, but please make sure to follow the issue template. Thank you in advance.

github-actions[bot] avatar Aug 09 '22 10:08 github-actions[bot]

Can anyone please help me with this issue . A particular API is failing everytime with automation but manually it is working fine

shaheemanjum avatar Aug 09 '22 10:08 shaheemanjum

Thank you for submitting this issue. We would love to assist you and diagnose it. However, we need a simple sample that we can easily run on our side in order to replicate the issue and research its cause. Without a sample, we are not able to figure out what's going on and why this issue occurs. Refer to this article to create the best example: How To: Create a Minimal Working Example When You Submit an Issue. We look forward to your response.

github-actions[bot] avatar Aug 10 '22 06:08 github-actions[bot]

Hi @Aleksey28 , When i click on button with testcafe , data is not rendering for a particular section. Please find below screenshot. image

But manually it is working fine :PFA scrrenshot:

image

.When i inspected the screen , I found that a particular API is failing everytime with testcafe .PFA screenshot:

image

I think it is related to HammerHead.js but i am not sure coz other API are passing . Please let me know what else i can provide here !

Thanks

shaheemanjum avatar Aug 10 '22 07:08 shaheemanjum

Hi @shaheemanjum,

It's difficult to research a problem based only on screenshots. Please share a simple sample, which I can reproduce locally. You can follow this instruction: https://testcafe.io/402636/faq#how-to-create-a-minimal-working-example-when-you-submit-an-issue.

Aleksey28 avatar Aug 11 '22 07:08 Aleksey28

Hi @Aleksey28 ,

I can not share the repo as access is restricted. Can you please tell me any other way to resolve this. with testcafe Below API call is failing with Hammerhead.js whereas other API is passing .

image

shaheemanjum avatar Aug 11 '22 12:08 shaheemanjum

You don't need to share the whole repo. Just create a simple sample as described here: https://testcafe.io/402636/faq#how-to-create-a-minimal-working-example-when-you-submit-an-issue

Aleksey28 avatar Aug 12 '22 06:08 Aleksey28

This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.

github-actions[bot] avatar Aug 22 '22 10:08 github-actions[bot]

No Its not resolved yet. Quick question -

  1. Can we bypass the Hammerhead.js proxy . cause i think the issue is related to hammerhead.?
  2. Can i send you guys a video recording of my issue ?

shaheemanjum avatar Aug 22 '22 12:08 shaheemanjum

  1. Proxyless mode hasn't been implemented yet. We will announce it once we implement it.
  2. We cannot find the cause of the issue without a simple example (see how to create it https://testcafe.io/402636/faq?search#how-to-create-a-minimal-working-example-when-you-submit-an-issue). Feel free to reopen this issue if you can create such an example.

Aleksey28 avatar Aug 23 '22 08:08 Aleksey28

Hi @Aleksey28 ,

Can i upload a video of my flow ? As i am not able to understand what is the sample example.

shaheemanjum avatar Aug 23 '22 11:08 shaheemanjum

Hi @shaheemanjum,

A sample example is a minimal reproducible example that I can run locally. It will allow me to research the problem (see how to create it here: https://testcafe.io/402636/faq?search#how-to-create-a-minimal-working-example-when-you-submit-an-issue.

Aleksey28 avatar Aug 24 '22 06:08 Aleksey28