Skip to content

chore: setup playwright#972

Closed
ojeytonwilliams wants to merge 6 commits into
freeCodeCamp:mainfrom
ojeytonwilliams:chore/setup-playwright
Closed

chore: setup playwright#972
ojeytonwilliams wants to merge 6 commits into
freeCodeCamp:mainfrom
ojeytonwilliams:chore/setup-playwright

Conversation

@ojeytonwilliams

Copy link
Copy Markdown
Contributor
  • chore: setup playwright
  • test: replace unit tests with simple e2e tests

Checklist:

I'm not sure how much e2e testing we will want, but I figured some simple tests would be helpful.

The unit tests were not really testing anything, since they did not import anything to test, but the e2e tests cover some of the logic that it looked like they were intended to cover.

@ojeytonwilliams ojeytonwilliams requested a review from a team October 15, 2025 14:04
@socket-security

socket-security Bot commented Oct 15, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​playwright/​test@​1.56.010010010099100

View full report

Comment thread playwright.config.ts Outdated
@raisedadead

Copy link
Copy Markdown
Member

Meh! I really do not want to add any E2E here, especially playwright.

@ojeytonwilliams

Copy link
Copy Markdown
Contributor Author

How about a unit test instead?

Also, if we were to e2e test, what were you thinking if not playwright?

@raisedadead

Copy link
Copy Markdown
Member

How about a unit test instead?

Sure.

Also, if we were to e2e test, what were you thinking if not playwright?

🛑 Nope, this static site doesn't need all that.

@ojeytonwilliams

Copy link
Copy Markdown
Contributor Author

Since we're not going with playwright, I'll create another PR just to unit test the redirection.

@ojeytonwilliams ojeytonwilliams deleted the chore/setup-playwright branch October 21, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants