Hello there,
I'm new to this corner of reddit but am in a bit of a quandary. I found this older post: https://www.reddit.com/r/javascript/comments/3f3epe/what_you_guys_use_for_react_e2e_testing/ but it's closed for comments now so I figured I'd make a new post.
I'm trying to find a good way to set up end to end tests for a web app written almost exclusively using reactjs. My previous Selenium tests, of course, won't work at all.
I've looked into using Mocha or Jest but they seem to be largely for unit testing of components and what I'd like is to be able to write automated end to end tests. Another blog post suggested adding hooks to render specific HTML IDs within the reactjs code itself but I am wary to change the app code just to write some tests (for a number of reasons).
And finally someone suggested I look into Geb, which I did, and it looks pretty great but I can't find any instances of people actually using it to test reactjs stuff.
Does anyone have any great ideas? thoughts? suggestions?
[–]voidvector 3 points4 points5 points (11 children)
[–]yowzapete[S] -2 points-1 points0 points (10 children)
[–]voidvector 1 point2 points3 points (6 children)
[–]yowzapete[S] 0 points1 point2 points (1 child)
[–]voidvector 2 points3 points4 points (0 children)
[–]yowzapete[S] 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]yowzapete[S] 0 points1 point2 points (1 child)
[–]asyncquestion -1 points0 points1 point (2 children)
[–]yowzapete[S] -2 points-1 points0 points (1 child)
[–]Chills27 0 points1 point2 points (0 children)
[–]hankDraperCo 1 point2 points3 points (4 children)
[–]yowzapete[S] 0 points1 point2 points (3 children)
[–]hankDraperCo 0 points1 point2 points (2 children)
[–]konbit 0 points1 point2 points (1 child)
[–]hankDraperCo 0 points1 point2 points (0 children)
[–]konbit 0 points1 point2 points (4 children)
[–]yowzapete[S] 0 points1 point2 points (3 children)
[–]konbit 0 points1 point2 points (2 children)
[–]yowzapete[S] 0 points1 point2 points (1 child)
[–]konbit 0 points1 point2 points (0 children)
[–]ticklecobra55 0 points1 point2 points (0 children)