HN user

lucgagan

154 karma

Crafting bug-free software with an enjoyable touch. Email me lucgagan@gmail.com

Posts26
Comments75
View on HN
glama.ai 1y ago

Replacing GitHub Copilot with Local LLMs

lucgagan
4pts0
news.ycombinator.com 2y ago

Building free tools is a not a viable long-term SEO strategy

lucgagan
8pts8
news.ycombinator.com 2y ago

Ask HN: What constitutes plagiarism in open-source?

lucgagan
1pts4
news.ycombinator.com 2y ago

Ask HN: What's a good community to ask SEO questions?

lucgagan
1pts2
news.ycombinator.com 2y ago

Ask HN: What's the best way to add search to my website?

lucgagan
5pts12
news.ycombinator.com 2y ago

Ask HN: Has anyone migrated from Next.js to Astro and can offer a perspective?

lucgagan
3pts3
hashrocket.com 3y ago

Modeling Polymorphic Associations in a Relational Database

lucgagan
1pts0
ray.run 3y ago

Show HN: Chrome Dev Tools Element Selector for Playwright and Scraping

lucgagan
53pts10
ray.run 3y ago

Detecting and Handling Flaky Tests in Playwright

lucgagan
23pts16
news.ycombinator.com 3y ago

Ask HN: Which companies are using playwright/test?

lucgagan
1pts0
ray.run 3y ago

Comparing Automated Testing Tools: Cypress, Selenium, Playwright, and Puppeteer

lucgagan
3pts0
twitter.com 3y ago

Getting JSON with TypeScript types from ChatGPT response

lucgagan
2pts0
ray.run 3y ago

Show HN: Built a QA job board ONLY for companies using playwright/test

lucgagan
3pts4
nextjs-forum.com 3y ago

The Next.js Discord server indexed in the web

lucgagan
1pts0
news.ycombinator.com 3y ago

Ask HN: What's your favorite blog about software engineering?

lucgagan
4pts1
news.ycombinator.com 3y ago

Ask HN: What's the reason ShowHN posts do not get featured?

lucgagan
1pts3
news.ycombinator.com 3y ago

Ask HN: What's been your win of the week?

lucgagan
2pts3
news.ycombinator.com 3y ago

Ask HN: How has ChatGPT affected your day to day work?

lucgagan
7pts11
news.ycombinator.com 3y ago

Ask HN: What resources are available for a non-designer to get design criticism?

lucgagan
1pts2
news.ycombinator.com 3y ago

Ask HN: How to get users to test a product without sounding like I am selling?

lucgagan
1pts4
news.ycombinator.com 3y ago

Ask HN: What dev utilities do you use daily?

lucgagan
3pts0
ray.run 3y ago

Exploring the Various Retry APIs of Playwright for Robust Testing

lucgagan
3pts0
news.ycombinator.com 3y ago

Ask HN: What's your experience of value over cost of e2e tests?

lucgagan
3pts2
news.ycombinator.com 3y ago

Ask HN: What's the biggest developer experience issue in your team?

lucgagan
1pts0
news.ycombinator.com 3y ago

Ask HN: What's your favorite software testing framework and why?

lucgagan
53pts70
news.ycombinator.com 3y ago

Ask HN: What's the biggest pain point of test automation at your organization?

lucgagan
3pts6

Is there a way to try this before I buy it?

I am building something that would probably benefit from this, but with that price tag (solo indy dev) that's going to be a big ask! might be worth it, just no way of knowing without trying it first

Ship Shape 3 years ago

If I was the creator of the project, I'd be happy with it. Most companies would not have donated anything.

[dead] 3 years ago

Hello HN community!

I'm excited to introduce Auto Playwright, an open-source tool that revolutionizes web testing by integrating AI with Playwright. Imagine writing your web app tests in plain, simple English and having AI turn those instructions into automated tests!

Key Features: - AI-Driven Test Writing: Just write what you need in plain text, and let the AI do the rest. - Playwright Compatibility: Works with all browsers compatible with Playwright. - Open-Source: Dive into the code, contribute, and customize as you see fit.

How It Works: 1. Install `auto-playwright` via npm. 2. Set up your OpenAI API key. 3. Write tests using intuitive, plain-text prompts.

Examples: From testing a search function with a few lines of text to automating complex e-commerce cart tests – it's all made incredibly simple.

    test("auto Playwright example", async ({ page }) => {
      await page.goto("/");

      // `auto` can query data
      // In this case, the result is plain-text contents of the header
      const headerText = await auto("get the header text", { page, test });

      // `auto` can perform actions
      // In this case, auto will find and fill in the search text input
      await auto(`Type "${headerText}" in the search box`, { page, test });

      // `auto` can assert the state of the website
      // In this case, the result is a boolean outcome
      const searchInputHasHeaderText = await auto(`Is the contents of the search box equal to "${headerText}"?` { page, test });

      expect(searchInputHasHeaderText).toBe(true);
    });
Why It Matters: This isn't just about automating the usual; it's about rethinking test automation. It's faster, more intuitive, and accessible, even for those less familiar with traditional coding.

Get Involved: I am building a community around Auto Playwright. Join us on Discord (https://ray.run/discord), contribute to the GitHub repo (https://github.com/lucgagan/auto-playwright), and stay updated with our newsletter (https://ray.run/newsletter).

Looking forward to your thoughts, feedback, and seeing how you use Auto Playwright in your projects!

Check out Auto Playwright on GitHub:

https://github.com/lucgagan/auto-playwright

Contributing to Wikipedia has become really not fun. Or maybe it never was. I tried writing an article about Playwright - perhaps the most common test automation tool these days. It first got rejected and now just has been sitting in review state for 3 months.

https://en.wikipedia.org/wiki/Draft:Playwright_(software)

It is highly demotivating to try to write a quality article for Wikipedia because someone can just reject your days of work in seconds and then leave it in draft forever.

Why the focus on synthetic monitoring? As a SRE, I actively eschew synthetic monitoring. It's highly error prone and doesn't actually indicate regional availability. I'd like a status site that I could push a certain internally derived SLA for a given service to and the status site reflects the average over time of that windowed SLA.

As an end user, hard disagree.

GitHub is a great example of this. Their status almost always shows 100% uptime while the service is entirely unstable.

It is clear that their uptime SLAs do not align with end user experience.

As an end user, I care whether I can access and use the service. I don't care what broke in between.

This was very interesting.

For example — we at SensusQ are building a piece of software that can ingest a large amount of disparate information pieces, be that drone images, satellite pictures, social media posts or text documents.

Congrats!

Do you have an article about how you got into it?

What are some startups in your area that are software?

What newsletters do you subscribe?

I would love to get more in the loop.

I read (most of) the article and was thinking "got to be the only guy in the World", and the first comment on HN is another guy doing the same thing. World is a big place and HN is def a selection.

As a counter point, I've been actively assessing feasibility of migrating my experiments to Claude with not much success. Trying to migrate prompts from GPT 4 to Claude often yields half-baked results. Claude seems to require a lot more handholding to get the desired result.