microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
521 stars 288 forks source link

[BUG] Add Activity on Timeline locator (Improvement) #887

Open imartinflores opened 4 years ago

imartinflores commented 4 years ago

EasyRepro Version

UCI or Classic Web

Online or On Premise

Browser

Describe the bug
When using Timeline.AddPhoneCall() , seems like the (+) button to add a new activity will change the locator. It is looking for a li node now, and I could see on Canary env it is a button node, so the method is failing and will fail once it gets deployed to Test/Prod. I would like to Just raise it as an improvement, do not know how to tag it.

Code to reproduce

xrmApp.Timeline.AddPhoneCall()

-->

Expected behavior
Click on (+) to add activity on timeline

Screenshots
TEST

testlocator

CANARY

canary
KumarSoniLove commented 4 years ago

Dear Sir/Madam, I work with imartinflores in CRM. I have experienced this morning while checking our automation nightly scheduled build that the below suddenly stopped working.

It is any activity like adding PhoneCall or Email using by trying to choose using Timeline function, it does not actually choose and fill the mandatory fields. Please could someone have a look and get back to us. We are having quite a few tests failing as the functionality is not supported any more in CRM.

Just to ensure PhoneCall is not the only activity that fails but Email as well

xrmApp.Timeline.AddPhoneCall("[Automation Test] test PhoneCall", "07555444333", "Automation Test", "15 minutes");

We are trying to achieve is as below:

Actual result: it does not click to open the menu and fill those necessary fields

The same issue is happening while selecting other activities like Timeline.AddEmail and other activities related to the same as well

Many thanks