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

[Bug]: After upgrading to latest version (8.4.20241024) tests begin to fail #1816

Open
myoussef87 opened this issue Nov 28, 2024 · 3 comments
Assignees
Labels
bug Something isn't working triage needs to be looked at

Comments

@myoussef87
Copy link

Describe the bug

After upgrading to latest version (8.4.20241024) tests begin to fail (works fine with 8.3.20240829)

Link to SHAFT_Engine Console logs
https://gist.github.com/myoussef87/d413cb4d13a6a2a6c7f597c0f0a90b7c

Link to SHAFT_Engine Extent Report HTML
https://gist.github.com/myoussef87/1500fce38f94482ba7639b8c00a0ac3b

Environment

  1. SHAFT_Engine version that exhibits the issue (Note: We support only the latest release): 8.4.20241024 and lower versions
  2. Last SHAFT_Engine version that did not exhibit the issue (if applicable): 8.3.20240829
  3. Desktop OS: MAC
  4. Desktop Browser (if applicable): Chrome
  5. Desktop Browser Version (if applicable): Version 131.0.6778.86 (Official Build) (arm64)
  6. Mobile Device Name (if applicable): N/A
  7. Mobile Device OS (if applicable):N/A
  8. Mobile Device Browser or Native App: N/A
  9. Mobile Device Browser (if applicable): N/A
  10. Mobile Device Browser Version (if applicable): N/A

To Reproduce

Steps to reproduce the behavior:

  1. Go to bonify.de
  2. Use this code to click on the shadow dom https://gist.github.com/myoussef87/2471f0303b11129b79cec2daa27bb8fe
  3. Use shaft to interact with any page element

Expected behavior

Able to interact with page elements after using JS to interact with shadow dom

Screenshots
Attached the HTML https://gist.github.com/myoussef87/1500fce38f94482ba7639b8c00a0ac3b

Additional context

@myoussef87 myoussef87 added bug Something isn't working triage needs to be looked at labels Nov 28, 2024
@MohabMohie
Copy link
Contributor

Hello dear, can you provide more info?
"tests begin to fail" is not very clear to me.
I can see multiple test runs in the same log, are you using a suite.xml to run your tests?
I can see a broken click, an element that wasn't found, and an empty test. What exactly is the problem?

@myoussef87
Copy link
Author

I'm not using suite.xml file and I'm running code via mvn command

I see that this issue is only happening when I set this property "createAnimatedGif=true" in VisualValidations.properties file and when I comment it, everything code is working fine

@myoussef87
Copy link
Author

Here is the code details with properties files https://gist.github.com/myoussef87/4e362dee4c6def69407e8bf817c1c69f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needs to be looked at
Projects
None yet
Development

No branches or pull requests

2 participants