Using ML to rewrite a test suite to Playwright

#​453 — September 8, 2022

Read on the Web

An Overview of Node’s Architecture, Event Loop, and More — We’re were starting to suspect that the good doctor (also the author of books like Deep JavaScript) was working on a Node book and.. he is: “Writing cross-platform shell scripts with Node.js.” Happily, we get to enjoy the byproducts of his work like this succinct, yet technical, overview of Node’s key elements.

Dr. Axel Rauschmayer

Memetria: Secure, Scalable, Full-Featured Redis 7 Hosting — The latest Redis features, instrumented and scaled with the tools teams need as they grow.

Memetria sponsor

🤖  Rewriting Tests from Cypress to Playwright with AI — Gajus needed to move an entire integration test suite from one framework to another – boring and laborious job, right? Gajus put AI to work, first in the shape of GitHub’s Copilot, but then using OpenAI’s GPT3 model directly. It sorta worked, but I can’t help but feel that then your tests might need their own tests… 😆

Gajus Kuizinas

🔎  GradeJS: Scan Production Webpack Bundles for Modules Within — Even if you don’t have access to the original source for a web site, this tool can try and figure out what npm packages were used even with minified or tree-shaken bundles (if webpack 3-5 was used).

Konstantin Darutkin

Deploying a Node App and Postgres Database to Fly.iofly.io is one of a handful of newer app hosting platforms (along with Railway and Render) doing a great job at building upon the developer experience pioneered by Heroku. Simon shows how easy it is to get up and running.

Simon Plenderleith

Dependabot Unlocks Transitive Dependencies for npm Projects“Your GitHub repos with Dependabot alerts enabled and Dependabot security updates enabled will automatically generate Dependabot pull requests for vulnerable npm transitive dependencies.”

GitHub

Get a Demo of a Node.js Transactional Notification Management System

Courier.com sponsor

▶  Containerize your Development with VS Code Dev Containers — VS Code has the option for using a Docker container as a development environment so you can get the advantage of more easily reproducible, isolated environments, without leaving the editor. (8 minutes.)

The UI Dawg

🛠 Code & Tools

npm-check-updates: Update package.json Dependencies to Latest Versions — That is, as opposed to the specified versions. A particularly neat feature is the -i interactive mode so you can look at potential upgrades and then action them one by one. (Thanks to Sam Selikoff for reminding us of this tool.)

Raine Revere

ZIPMonster: US ZIP Code Data and Related Functions — ZIP codes are postal codes used in the US – this library wraps them all into one library which also lets you query them in various useful ways or even to find neighboring ones.

Igor M.

Debug Node Apps Without Stopping Them in Prod. Book a Live Demo Today

Rookout sponsor

Kanel: Generate TypeScript Types from Postgres — It works by inspecting a live database, sort of like a reverse object/relation mapper. GitHub repo.

Kristian Dupont

fast-querystring: An Alternative to node:querystring — Faster, but modestly so, so choose wisely whether to introduce a new dependency to parse URL query strings or not.

Yagiz Nizipli

Marked 4.1: A Fast Markdown Parser and Compiler — Works in the browser or server-side. Demo here to see it in action.

Christopher Jeffrey

💻 Jobs

Software Engineers — Sticker Mule is the Internet’s most “kick ass” brand. Our software team operates from 17 countries, and we’re always looking for more exceptional engineers.
Sticker mule

Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired

Related Post

Seven weird ways to call a JavaScript functionSeven weird ways to call a JavaScript function

<table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.55em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height:

Node 18.6 and custom ESM loadersNode 18.6 and custom ESM loaders

<table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.55em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height:

Extractors for ECMAScriptExtractors for ECMAScript

<table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: