Feature/ranking question type vue3 #1859
Annotations
1 error, 1 warning, and 1 notice
|
[chromium] › playwright/e2e/question-editing.spec.ts:90:2 › Question editing lifecycle › Clone a question:
playwright/e2e/question-editing.spec.ts#L102
1) [chromium] › playwright/e2e/question-editing.spec.ts:90:2 › Question editing lifecycle › Clone a question
Error: expect(received).toHaveLength(expected)
Expected length: 2
Received length: 1
Received array: [{"answerInputs": {"_frame": {"_guid": "frame@10b224541b3693eaba80c62eb72a4a49", "_type": "Frame"}, "_selector": "internal:role=listitem[name=/Question number \\d+/i] >> nth=0 >> internal:role=textbox[name=/The text of option \\d+/i]", Symbol(nodejs.util.inspect.custom): [Function anonymous]}, "descriptionInput": {"_frame": {"_guid": "frame@10b224541b3693eaba80c62eb72a4a49", "_type": "Frame"}, "_selector": "internal:role=listitem[name=/Question number \\d+/i] >> nth=0 >> internal:attr=[placeholder=\"Description (formatting using Markdown is supported)\"i]", Symbol(nodejs.util.inspect.custom): [Function anonymous]}, "newAnswerInput": {"_frame": {"_guid": "frame@10b224541b3693eaba80c62eb72a4a49", "_type": "Frame"}, "_selector": "internal:role=listitem[name=/Question number \\d+/i] >> nth=0 >> internal:role=textbox[name=\"Add a new answer option\"i]", Symbol(nodejs.util.inspect.custom): [Function anonymous]}, "page": {"_guid": "page@3561994b18ce5713bbfed16b7d3a4017", "_type": "Page"}, "section": {"_frame": {"_guid": "frame@10b224541b3693eaba80c62eb72a4a49", "_type": "Frame"}, "_selector": "internal:role=listitem[name=/Question number \\d+/i] >> nth=0", Symbol(nodejs.util.inspect.custom): [Function anonymous]}, "titleInput": {"_frame": {"_guid": "frame@10b224541b3693eaba80c62eb72a4a49", "_type": "Frame"}, "_selector": "internal:role=listitem[name=/Question number \\d+/i] >> nth=0 >> internal:role=textbox[name=/title of/i]", Symbol(nodejs.util.inspect.custom): [Function anonymous]}}]
100 |
101 | const updatedQuestions = await form.getQuestions()
> 102 | expect(updatedQuestions).toHaveLength(2)
| ^
103 |
104 | // The clone should have the same title and options
105 | const clone = updatedQuestions[1]
at /home/runner/actions-runner/_work/forms/forms/playwright/e2e/question-editing.spec.ts:102:28
|
|
test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › playwright/e2e/question-editing.spec.ts:90:2 › Question editing lifecycle › Clone a question
42 passed (4.1m)
|