Forum Discussion
ChrisAdams
3 years agoChampion Level 3
Hi,
I've never user TestComplete, but I have tested some React apps using Jest etc.
React themselves suggest using an attribute called data-testid for testing with Jest. E.g.
<button id="PushMe2" data-testid="PushMe2" onclick="location.href='Page1.html'">Go to Page 1</button>
Not convinced it's your answer, but you never know.
Related Content
- 6 years ago
Recent Discussions
- 20 hours ago
- 2 days ago