feat(playwright-cli): add comprehensive test generation, tracing, and video recording documentation
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 2m29s

- Introduced detailed documentation for test generation workflow in Playwright CLI, covering planning, generating, and healing tests.
- Added tracing capabilities documentation, including usage, output files, and best practices for debugging and performance analysis.
- Included video recording instructions, emphasizing best practices for capturing browser automation sessions with chapter markers and overlays.
- Implemented user tutorial authentication setup and tutorial tests for parent mode in the E2E testing framework.
- Created JSON files for user tutorial state management, ensuring isolated test environments.
This commit is contained in:
2026-07-17 19:38:02 -04:00
parent 7f0326eff1
commit d910a6bc65
37 changed files with 2754 additions and 182 deletions
@@ -58,9 +58,24 @@ const bodyStyle = computed(() => {
async function measureHeight() {
await nextTick()
if (contentRef.value) {
bodyHeight.value = contentRef.value.scrollHeight
if (!contentRef.value || !innerRef.value) return
// The outer body is currently collapsed (max-height:0 / visibility:hidden),
// so scrollHeight would read 0. Briefly unclamp it off-screen to measure the
// real content height, then restore the closed styles.
const el = contentRef.value
const original = {
maxHeight: el.style.maxHeight,
visibility: el.style.visibility,
position: el.style.position,
}
el.style.maxHeight = 'none'
el.style.visibility = 'hidden'
el.style.position = 'absolute'
const height = innerRef.value.scrollHeight
el.style.maxHeight = original.maxHeight
el.style.visibility = original.visibility
el.style.position = original.position
bodyHeight.value = height
}
watch(isOpen, (open) => {
@@ -293,6 +293,7 @@ function onImageChange(id: string | null) {
uploadLocalImage()
} else {
localImageFile.value = null
imageId.value = id
saveImage(id)
}
}