freeCodeCamp / publish

> Content backend platform for /news
https://publish.freecodecamp.org
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

feat: create tests for tags #360

Closed Sembauke closed 7 months ago

Sembauke commented 7 months ago

ref #356

ojeytonwilliams commented 7 months ago

@Sembauke I think this is fine, now. All the tests can be run repeatedly and in any order and should not cause any issues.

Once we have a lot of tests, it might be worth using api calls to setup/teardown any state we need for the tests. Just to speed things up. However, for now, I think this approach is fine.

ojeytonwilliams commented 7 months ago

I'm having difficulties running playwright tests locally

What's going wrong, @sidemt? It sounds like I need to update the docs.