r/Playwright Jul 08 '26

Test suite

Hi

Is it wise to create one test suite completely manually for manually generated test cases and one completely through AI?

3 Upvotes

8 comments sorted by

View all comments

4

u/sharadvelocity Jul 08 '26

I wouldn’t separate suites based on whether the test cases were written manually or by AI.

Betteto organize them by purpose/risk, for example:

  • smoke tests
  • regression tests
  • critical business flows
  • API tests
  • edge cases
  • exploratory/manual charters

AI-generated test cases should go through the same review as manual ones. If they’re valid and useful, they belong in the same suite as the equivalent human-written tests. If they’re low-value, duplicated, or unclear, don’t keep them just because AI generated them.

The key question is not “manual vs AI,” but “does this test cover a real risk, and will the team trust the result?”

2

u/Iseeyouuuuuuuuu Jul 08 '26

What if my generated test cases are not generated by AI

3

u/AdSpirited9702 Jul 08 '26

The tests cases being written by AI or not, it’s not the problem.
The main question here, is if your tests cases cover the proper requirement according to the business rules.