Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestCafe Banner makes elements appear invisible #3941

Closed
AllSidesCreative opened this issue Jun 27, 2019 · 9 comments
Closed

TestCafe Banner makes elements appear invisible #3941

AllSidesCreative opened this issue Jun 27, 2019 · 9 comments
Assignees
Labels
STATE: Need clarification An issue lacks information for further research.

Comments

@AllSidesCreative
Copy link

Banner makes elements appear invisible

Test cafe banner is covering up elements and as a result, those elements are "not visible". This can be verified by a test where an element is covered up by the banner and needs to be visible to succeed, here's an example:

.click(myElementCoveredByBanner)

which then gives the error:
"The element that matches the specified selector is not visible."

Observing the test, I have noticed that the element is scrolled to and visible on the screen, however, the test-cafe banner covers the element completely.
By running the test again, wait for the timeout and then by manually scrolling such that the banner partially does not cover the element, fixes the problem.

What is the Current behavior?

The banner when layered over an element makes it "not visible"

What is the Expected behavior?

There either should not be a banner, or the banner should not be making elements "not visible".

Code that is breaking:
   1) The element that matches the specified selector is not visible.

export async function drilDown() {
 await scrollToBottom()
await t
   .expect(benefitsIconMobileOnly.exists).ok()
    .click(benefitsIconMobileOnly)

  • testcafe version: 1.2.1
  • node.js version: 8.12.0
  • browser name and version: Chrome 75
  • platform and version: macOS 10.13.6
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jun 27, 2019
@aleks-pro aleks-pro self-assigned this Jun 28, 2019
@aleks-pro
Copy link
Contributor

Hello @AllSidesCreative,

The issue you are facing looks similar to this one. We have fixed it recently. Can you check that the problematic behavior is reproducible on the [email protected] version? If so, please provide us with a link to your Web application or a simple project in which we can reproduce the issue. Also, the code of your test would be very helpful for us.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Jun 28, 2019
@AllSidesCreative
Copy link
Author

I have provided code, its under .the "Code that is breaking" banner. I'll try and find an example project to illustrate my example better.

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jun 30, 2019
@AllSidesCreative
Copy link
Author

@aleks-pro after upgrading to [email protected] , can confirm that the issue is not fixed.

@miherlosev miherlosev assigned miherlosev and unassigned aleks-pro Jul 1, 2019
@miherlosev
Copy link
Contributor

@AllSidesCreative

can confirm that the issue is not fixed.

Ok. This means that you found another problem. I am afraid, the information you provided is not sufficient to find the cause of the issue.
Could you please send us a page or a small example so that we can reproduce the problem on our side?

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Jul 1, 2019
@AllSidesCreative
Copy link
Author

@aleks-pro why was this issue closed? The problem hasn't been fixed.

@miherlosev The issue is even easier to reproduce on the alpha version than version 1.2.1.

It's going to be difficult to provide an example project, I'll investigate more my end and if I can find some more information, I'll let you know.

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jul 1, 2019
@AlexKamaev AlexKamaev reopened this Jul 2, 2019
@AlexKamaev AlexKamaev added STATE: Need clarification An issue lacks information for further research. and removed STATE: Need response An issue that requires a response or attention from the team. labels Jul 2, 2019
@no-response
Copy link

no-response bot commented Jul 12, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Jul 12, 2019
@altany
Copy link

altany commented May 30, 2022

This is still happening consistently. It should be re-opened

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label May 30, 2022
@Aleksey28
Copy link
Collaborator

I'll reopen this issue. Please share a simple working sample according to the following instruction: https://testcafe.io/402636/faq#how-to-create-a-minimal-working-example-when-you-submit-an-issue.
Otherwise, I won't be able to reproduce this problem, and the issue will be closed again.

@Aleksey28 Aleksey28 reopened this May 31, 2022
@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label May 31, 2022
@github-actions
Copy link

github-actions bot commented Jun 7, 2022

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 github-actions bot closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATE: Need clarification An issue lacks information for further research.
Projects
None yet
Development

No branches or pull requests

6 participants