home.social

#e2etesting — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #e2etesting, aggregated by home.social.

  1. I used #Nightwatch a while ago, and I really liked it. Not sure how popular and widespread it is nowadays, but I haven't heard to often from it lately. I liked that is based on the #WebDriver specification, since it makes me at least less dependant on some proprietary providers.

    #E2ETesting

  2. 🔎 I am currently searching for an #E2ETesting library. The most important thing for me to test, which I probably cannot test in a different way, is native browser notifications after receiving a push notification from a #JavaScript #ServiceWorker.

    Solutions I know of include #Selenium, #WebDriverIO, #Playwright, #NightWatch and #Cypress.

    ❓ Do you have any other ideas or opinions on those testing libraries?

    Going to add a few thoughts for some of them in separate toots.

  3. 👨‍💻 I'm building an app with as little #JavaScript as possible (only sending and receiving push notifications). I don't use any framework, and everything else is handled by the server.

    ❓ Now I'm wondering how to handle #testing. Does it make sense to do #UnitTesting for a few lines of JavaScript? How do you handle that? Do you only do #E2ETesting in such cases?

    💭 I was already thinking about using #JSDom in #Jest, but the #HTML is generated by #Symfony, making it hard to get it in there…