Skip to content

Flip the script on the automated testing#349

Draft
erikdubbelboer wants to merge 1 commit intomainfrom
go-feature-tests
Draft

Flip the script on the automated testing#349
erikdubbelboer wants to merge 1 commit intomainfrom
go-feature-tests

Conversation

@erikdubbelboer
Copy link
Copy Markdown
Member

@erikdubbelboer erikdubbelboer commented Apr 26, 2026

This was a test to see if Codex can do: #65

Prompt:

We currently use javascript cucumber to run our tests. What would it take to turn this around and
run the tests in Go using github.com/cucumber/godog and have the tests spin up on or more
headless Chrome instances like in `/Users/erik/Desktop/drive-mad-gemini/browser.go` that run
the js code and connect to each other. That should bring us closer to real websockets instead of
the nodejs `ws` package which isn't exactly the same as Chrome Websockets.

It's probably easier to make work on a Mac. But how about in Github Actions, can we have headless
Chrome there?

This pull is the output after working for 58 minutes.
Screenshot 2026-04-26 at 13 01 10

I don't think the code is good enough yet. But I wanted to make a pull first to show what Codex is capable of.

This was a test to see if Codex can do: #65

Prompt:
```
We currently use javascript cucumber to run our tests. What would it take to turn this around and run the tests in Go using github.com/cucumber/godog and have the tests spin up on or more headless Chrome instances like in `/Users/erik/Desktop/drive-mad-gemini/browser.go` that run the js code and connect to each other. That should bring us closer to real websockets instead of the nodejs `ws` package which isn't exactly the same as Chrome Websockets.

It's probably easier to make work on a Mac. But how about in Github Actions, can we have headless Chrome there?
```

This pull is the output after working for 58 minutes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant