healenium / healenium-web

Self-healing library for Selenium Web-based tests
Apache License 2.0
169 stars 40 forks source link

[BUG]: self healing is not happening with the new version and infra #182

Closed veeramanikandanvv closed 2 years ago

veeramanikandanvv commented 2 years ago

Describe the bug

Self healing is not happening once upgraded to the latest version of healenium. Even after running the pure tests element changes was not identified.

Version: 3.2.4

Note: Tested by Rolling back to the previous versions and faced the same issue.

How to reproduce the issue

Run the pure tests
Change the dom.element attributes
It should heal the element changes

Logs appeared during using Healenium

New element locator have not been found

Expected behavior

Self healing fails

Actual behavior

Self healing should happen

Healenium Web version

3.2.4

Healenium Backend version

3.2.1

Selenium version

4.1.3

Platform

Java

Properties file

Same as mentioned in the document

Additional context

Element not found issue

veeramanikandanvv commented 2 years ago

On further analysis we found element healing data is not added to postgres database and often we see exceptions while adding data to postgres database

veeramanikandanvv commented 2 years ago

![Uploading 16496807329332562927229329690548.jpg…]()

ElenaStepuro commented 2 years ago

Hello @veeramanikandanvv Could you please upload the picture again? I'm not able to see it( Or you can upload logs via text. Also, I would like to see containers logs. Please attach healenium-backend container logs

veeramanikandanvv commented 2 years ago

Please find the logs attached

On Mon, Apr 11, 2022, 18:38 ElenaStepuro @.***> wrote:

Hello @veeramanikandanvv https://github.com/veeramanikandanvv Could you please upload the picture again? I'm not able to see it( Or you can upload logs via text. Also, I would like to see containers logs. Please attach healenium-backend container logs

— Reply to this email directly, view it on GitHub https://github.com/healenium/healenium-web/issues/182#issuecomment-1095028745, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWQOTEWNPOC7TEJQZQEMETVEQP3XANCNFSM5SRPFDYQ . You are receiving this because you were mentioned.Message ID: @.***>

Alex-Reif commented 2 years ago

Fixed in healenium/hlm-backend:3.2.2 Please update backend container

veeramanikandanvv commented 2 years ago

Even after updating the container version, self healing is not happening. We don't see any entries made to the postgres database. Let us know if there is any other changes needs to be done. Also we are not seeing any changes done in the repository for this changes

veeramanikandanvv commented 2 years ago

@Aliaksei-Ashukha : we are also not seeing any logs in the container

ElenaStepuro commented 2 years ago

Hello @veeramanikandanvv That sounds strange... Could we have a call?

veeramanikandanvv commented 2 years ago

Yes, sure.

On Fri, Apr 15, 2022, 16:38 ElenaStepuro @.***> wrote:

Hello @veeramanikandanvv https://github.com/veeramanikandanvv That sounds strange... Could we have a call?

— Reply to this email directly, view it on GitHub https://github.com/healenium/healenium-web/issues/182#issuecomment-1100043071, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWQOTDL2FZSOFUZOVTHZODVFFE4HANCNFSM5SRPFDYQ . You are receiving this because you were mentioned.Message ID: @.***>

ElenaStepuro commented 2 years ago

Yes, sure.

Could you please send the zoom call for e-mail elena_stepuro@epam.com?

veeramanikandanvv commented 2 years ago

Is it possible for teams call?

On Fri, Apr 15, 2022, 16:45 ElenaStepuro @.***> wrote:

Yes, sure. … <#m1946054352636921484>

Could you please send the zoom call for e-mail @.***?

— Reply to this email directly, view it on GitHub https://github.com/healenium/healenium-web/issues/182#issuecomment-1100045834, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWQOTCIGBEROX3CEV6M7C3VFFFT3ANCNFSM5SRPFDYQ . You are receiving this because you were mentioned.Message ID: @.***>

ElenaStepuro commented 2 years ago

Is it possible for teams call? On Fri, Apr 15, 2022, 16:45 ElenaStepuro @.> wrote: Yes, sure. … <#m1946054352636921484> Could you please send the zoom call for e-mail @.? — Reply to this email directly, view it on GitHub <#182 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWQOTCIGBEROX3CEV6M7C3VFFFT3ANCNFSM5SRPFDYQ . You are receiving this because you were mentioned.Message ID: @.***>

Sure

veeramanikandanvv commented 2 years ago

Will set it up and let you know

On Fri, Apr 15, 2022, 16:48 ElenaStepuro @.***> wrote:

Is it possible for teams call? … <#m4603018387498905737> On Fri, Apr 15, 2022, 16:45 ElenaStepuro @.> wrote: Yes, sure. … <#m1946054352636921484> Could you please send the zoom call for e-mail @.? — Reply to this email directly, view it on GitHub <#182 (comment) https://github.com/healenium/healenium-web/issues/182#issuecomment-1100045834>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWQOTCIGBEROX3CEV6M7C3VFFFT3ANCNFSM5SRPFDYQ . You are receiving this because you were mentioned.Message ID: @.***>

Sure

— Reply to this email directly, view it on GitHub https://github.com/healenium/healenium-web/issues/182#issuecomment-1100047312, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWQOTAVTOQHATFNXRVYT5DVFFGBBANCNFSM5SRPFDYQ . You are receiving this because you were mentioned.Message ID: @.***>

veeramanikandanvv commented 2 years ago

Can I set up a call tomorrow? What time will work for you??

ElenaStepuro commented 2 years ago

Can I set up a call tomorrow? What time will work for you??

Sure, I'm available till 15pm Moscow time

veeramanikandanvv commented 2 years ago

When I tested self healing with Google site it's working as expected. But it's not working with our application. What could be the reason?

Looks like healing is happening only for JSP applications in the new version. Our applications have responsive ui built on Angular and angularjs. Please help us in resolving the issue asap

Alex-Reif commented 2 years ago

Hi @veeramanikandanvv , Could you provide example your application ? We'll be grateful.

veeramanikandanvv commented 2 years ago

Angular and angularjs applications

Alex-Reif commented 2 years ago

Hi @veeramanikandanvv , Please create new one with full description. Healenium support both: angular and angularjs

Maazchoudhary123 commented 4 months ago

@Alex-Reif @ElenaStepuro @moinuddin14 @valfirst showing "No healing results are available" in intelli j idea plugin downloaded already for healenium