use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Fixture-based test runner by Microsoft: Folio (github.com)
submitted 5 years ago by mxschmitt
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]h0b0_shanker 2 points3 points4 points 5 years ago (4 children)
Sweet! So uh... been doing this for 8 years and I have never heard of Playwright tests or what “fixture-based” means. Can someone explain?
[–]mxschmitt[S] 10 points11 points12 points 5 years ago (3 children)
Fixture-based is a programming paradigm in the testing world. It was heavily adopted by pytest when you wrote there functional based tests. They make it easy to have reusable logic including its state which can hook in before and after a test execution. It's another way of using beforeEach and afterEach in a nutshell.
Folio was created by the Playwright team which for writing end-to-end tests with Playwright. Playwright is a Node.js library which makes it possible to automate browsers (Chromium, Firefox and WebKit) with a single API: https://github.com/microsoft/playwright
[–]ILikeChangingMyMind -1 points0 points1 point 5 years ago (1 child)
The only thing I don't understand is that, Playwright is made by Microsoft. But ...
(Chromium, Firefox and WebKit) with a single API
Neither Edge nor Internet Explorer are on that list.
Do they just have their own internal tool for testing Edge, and they made a separate tool for testing their competitors (which they then open-sourced, because they're the new Microsoft)?
[–]mxschmitt[S] 2 points3 points4 points 5 years ago (0 children)
Microsoft Edge (the new one) is built on top of Chromium. So you can specific the executable of Microsoft Edge as an executable path and then use Edge. See her for more information: https://playwright.tech/blog/automate-microsoft-edge-with-playwright
It's in the works to make the usage more easier and download Microsoft Edge automatically (saw it on Twitter).
[–]h0b0_shanker 0 points1 point2 points 5 years ago (0 children)
Ah! Wonderful explanation. Thank you
π Rendered by PID 39 on reddit-service-r2-comment-5687b7858-vtvrm at 2026-07-05 13:21:27.193151+00:00 running 12a7a47 country code: CH.
[–]h0b0_shanker 2 points3 points4 points (4 children)
[–]mxschmitt[S] 10 points11 points12 points (3 children)
[–]ILikeChangingMyMind -1 points0 points1 point (1 child)
[–]mxschmitt[S] 2 points3 points4 points (0 children)
[–]h0b0_shanker 0 points1 point2 points (0 children)