ATF: Testing a custom service portal widget, using sn-atf-id within an ng-repeat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 06:04 AM
Hi all,
I'm setting up an ATF test for a custom service portal widget, after watching the demo in the Creator Toolbox episode here: https://www.youtube.com/watch?v=ZaQmay-smOI&t=916s. The episode is quite old, but it still holds :).
I've added the sn-atf-id attribute to some components, and it's working fine in general. However, I have some components within ng-repeats where I'm assigning a value to sn-atf-id dynamically.
So for instance, iterating over a collection of items like this:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 12:55 AM
anyone tried this before? I have same scenario
create ATF for custom widget that has ng-repeat with button for each column in a portal in Servicenow