From 45607bb72f79181d8fdddf9b5fc5de1182a4dfdf Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 10 Jan 2025 11:36:20 +0000 Subject: [PATCH] Docs Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- docs/playwright.md | 3 +++ 1 file changed, 3 insertions(+) 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