diff --git a/docs/playwright.md b/docs/playwright.md index 315033955b..a4c7d1b188 100644 --- a/docs/playwright.md +++ b/docs/playwright.md @@ -77,6 +77,9 @@ test.use({ ``` The appropriate homeserver will be launched by the Playwright worker and reused for all tests which match the worker configuration. +Due to homeservers being reused between tests, please use unique names for any rooms put into the room directory as +they may be visible from other tests, the suggested approach is to use `testInfo.testId` within the name or lodash's uniqueId. +We remove public rooms from the directory between tests but deleting users doesn't have a homeserver agnostic solution. The logs from testcontainers will be attached to any reports output from Playwright. ## Writing Tests