Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

ATF Click Component Step Passes but Does Not Click the UI Element

Amy_W
Tera Contributor

I’m trying to determine whether this is an ATF issue or something specific to the On-Call Scheduling UI.

My ATF test reaches the Default Shift and then needs to click the Actions button. At that point, the Actions control never appears/becomes available, and the test cannot continue.

If I perform the same steps manually, the Actions button appears normally and I can continue without any issue. I've also impersonated multiple users to rule out an obvious user/role difference. The behavior remains:

Manual: Default Shift → Actions appears → works
ATF: Default Shift → Actions does not appear → test cannot continue

Has anyone encountered this difference between manual testing and ATF?

In particular, I’m interested in whether:

  • ATF may be progressing too quickly before the control finishes rendering.
  • The Actions control requires an asynchronous UI event that ATF isn't triggering.
  • There is a better ATF step/assertion to wait for the Actions control before attempting the click.
  • This is a known limitation with ATF and the On-Call Scheduling interface.

We are on Zurich release. Screenshots attached.

2 REPLIES 2

Michael Moch
Tera Guru

Hi! Oh, I've been there. The step says "passed" but nothing happens… super frustrating. 😅

Here's what I'd check, in this order:

1. Impersonation: Does the test run as the same user/role you used manually? This is the most common cause in my experience.
2. Timing: The Actions button may render a bit later. Add a short wait or an "assert visible" step before the click.
3. Window size: In a small client test runner window, the button can disappear into an overflow menu. Try running the test runner in a full-size window.

If none of that helps, On-Call Scheduling might use a custom UI page that the component steps can't reach. Then the Custom UI steps are your fallback.

Let me know how it goes! And if this helped, a Helpful 👍 would be awesome, and if it solves it, please Accept as Solution ✅.

Best regards,
Michael

Hi Michael

Thank you for your reply.

1. When the test is run manually the action button is there. I have impersonated about 3-4 users and also ran it as myself. When running thru ATF, impersonating the same users as manual test, the action button doesn't appear at all.

2. I have added a wait time, but it still doesn't appear. 

3. I have also run the test in a full size window. 

 

Thank you again for the information!

Amy