test(web): cover collapsing and expanding the question card
Two new QuestionComposer cases: the collapse toggle hides the option list and leaves the header strip, and collapsing between answering preserves both the picked draft and the current question position through a full submit; re-expanding does not steal focus back into the textarea. Refresh the question-composer and steering web e2e goldens for the new header button.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
- region "Which color do you prefer?":
|
||||
- text: Pick one
|
||||
- heading "Which color do you prefer?" [level=2]
|
||||
- button "Collapse the question card" [expanded]:
|
||||
- img
|
||||
- button "Dismiss all questions":
|
||||
- img
|
||||
- group:
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
- region "Which color do you prefer?":
|
||||
- text: Pick one
|
||||
- heading "Which color do you prefer?" [level=2]
|
||||
- button "Collapse the question card" [expanded]:
|
||||
- img
|
||||
- button "Dismiss all questions":
|
||||
- img
|
||||
- group:
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
- region "Ready to continue?":
|
||||
- text: Checkpoint
|
||||
- heading "Ready to continue?" [level=2]
|
||||
- button "Collapse the question card" [expanded]:
|
||||
- img
|
||||
- button "Dismiss all questions":
|
||||
- img
|
||||
- radiogroup:
|
||||
|
||||
Reference in New Issue
Block a user