You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`sessionIDFromUrl(url)` - Read session ID from URL
76
+
-`slugFromUrl(url)` - Read workspace slug from URL
77
+
-`waitSlug(page, skip?)` - Wait for resolved workspace slug
75
78
-`trackSession(sessionID, directory?)` - Register session for fixture cleanup
76
79
-`trackDirectory(directory)` - Register directory for fixture cleanup
77
80
-`clickListItem(container, filter)` - Click list item by key/text
@@ -169,9 +172,10 @@ await page.keyboard.press(`${modKey}+Comma`) // Open settings
169
172
1. Choose appropriate folder or create new one
170
173
2. Import from `../fixtures`
171
174
3. Use helper functions from `../actions` and `../selectors`
172
-
4. Clean up any created resources
173
-
5. Use specific selectors (avoid CSS classes)
174
-
6. Test one feature per test file
175
+
4. When validating routing, use shared helpers from `../actions`. Workspace URL slugs can be canonicalized on Windows, so assert against canonical or resolved workspace slugs.
0 commit comments