ATF Test Suite for Communities not finding testable components
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2025 12:23 PM
I am trying to get a cloned version of the Communities ATF Test Suite working, and I am running into issues with the "Reject any moderation task" Test.
Basic overview of the flow:
Impersonate Community User
Navigate to Community Forum
Post a question in a forum
Impersonate a Forum Admin
Select the posted question
Click on 'Button <a> [actionQuestionMenu]'
Select 'Menu item <a>: Report Content'
etc....
It will run until the Forum Admin clicks on the posted question, and then fails to find the 'actionQuestionMenu'. I have tried to regenerate the test from scratch, and when I try to add that step, I get a message that there are no testable components.
I'm including a screenshot of the screen I am struggling to test. the 'actionQuestionMenu' is the '...' next to 'Subscribe'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2025 11:53 PM
Why It’s Hard to Test with ATF:
ATF only works on known DOM elements and form fields in the Classic UI or Workspace UI.
The actionQuestionMenu is:
- A client-side constructed menu
- Often inside a shadow DOM (inaccessible to ATF)
- Triggered by JavaScript events and not always present in the DOM until clicked