Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Publish test steps result #545

Open
alexneo2003 opened this issue Feb 9, 2023 · 16 comments
Open

[Question] Publish test steps result #545

alexneo2003 opened this issue Feb 9, 2023 · 16 comments

Comments

@alexneo2003
Copy link

alexneo2003 commented Feb 9, 2023

is there any possibility to publish test steps results?
At ADO this endpoint is - https://dev.azure.com/organization/40067afb-7d94-4832-8565-aaaaaaaaaaaa/_api/_testresult/Update?teamId=&__v=5
Request body is

{"updateRequests":"[{\"testResultId\":100000,\"testRunId\":573,\"testCaseResult\":{\"outcome\":3,\"errorMessage\":\"\",\"comment\":\"\",\"dateStarted\":\"\\/Date(1675933507890)\\/\",\"dateCompleted\":\"\\/Date(1675933603674)\\/\",\"duration\":943610000,\"id\":{\"testResultId\":100000,\"testRunId\":573},\"testCaseId\":3,\"configurationId\":1,\"configurationName\":\"Windows 10\",\"testPointId\":1,\"revision\":0,\"state\":3,\"owner\":\"230e55b4-9e71-6a10-a0fa-780a87894418\",\"runBy\":\"230e55b4-9e71-6a10-a0fa-780a87894418\",\"testCaseTitle\":\"Should page opened\",\"testCaseArea\":\"\",\"dataRowCount\":0,\"testCaseRevision\":3,\"priority\":2,\"planId\":4,\"_events\":{\"_namedHandlers\":{\"DIRTY-CHANGED\":{\"_handlers\":[null]}}}},\"actionResults\":[{\"outcome\":3,\"errorMessage\":\"\",\"comment\":\"\",\"dateStarted\":\"\\/Date(1675933509312)\\/\",\"dateCompleted\":\"\\/Date(1675933603673)\\/\",\"duration\":943610000,\"actionId\":0,\"actionPath\":\"\",\"parent\":null,\"isSubStep\":false,\"indexString\":\"\",\"id\":{\"testRunId\":573,\"testResultId\":100000},\"iterationId\":1,\"revision\":0},{\"outcome\":2,\"errorMessage\":\"BUG\",\"comment\":\"\",\"dateStarted\":\"\\/Date(1675933509313)\\/\",\"dateCompleted\":\"\\/Date(1675933509313)\\/\",\"duration\":0,\"actionId\":3,\"actionPath\":\"00000003\",\"parent\":null,\"isSubStep\":false,\"indexString\":\"2.\",\"iterationId\":1,\"id\":{\"testRunId\":573,\"testResultId\":100000},\"actionLogTimeStamp\":\"\\/Date(1675933782828)\\/\"}],\"actionResultDeletes\":[],\"parameters\":[],\"parameterDeletes\":[]}]"}

parsed updateRequests object

[
    {
        "testResultId": 100000,
        "testRunId": 573,
        "testCaseResult": {
            "outcome": 3,
            "errorMessage": "",
            "comment": "",
            "dateStarted": "/Date(1675933507890)/",
            "dateCompleted": "/Date(1675933603674)/",
            "duration": 943610000,
            "id": {
                "testResultId": 100000,
                "testRunId": 573
            },
            "testCaseId": 3,
            "configurationId": 1,
            "configurationName": "Windows 10",
            "testPointId": 1,
            "revision": 0,
            "state": 3,
            "owner": "230e55b4-9e71-6a10-a0fa-780a87894418",
            "runBy": "230e55b4-9e71-6a10-a0fa-780a87894418",
            "testCaseTitle": "Should page opened",
            "testCaseArea": "",
            "dataRowCount": 0,
            "testCaseRevision": 3,
            "priority": 2,
            "planId": 4,
            "_events": {
                "_namedHandlers": {
                    "DIRTY-CHANGED": {
                        "_handlers": [
                            null
                        ]
                    }
                }
            }
        },
        "actionResults": [
            {
                "outcome": 3,
                "errorMessage": "",
                "comment": "",
                "dateStarted": "/Date(1675933509312)/",
                "dateCompleted": "/Date(1675933603673)/",
                "duration": 943610000,
                "actionId": 0,
                "actionPath": "",
                "parent": null,
                "isSubStep": false,
                "indexString": "",
                "id": {
                    "testRunId": 573,
                    "testResultId": 100000
                },
                "iterationId": 1,
                "revision": 0
            },
            {
                "outcome": 2,
                "errorMessage": "BUG",
                "comment": "",
                "dateStarted": "/Date(1675933509313)/",
                "dateCompleted": "/Date(1675933509313)/",
                "duration": 0,
                "actionId": 3,
                "actionPath": "00000003",
                "parent": null,
                "isSubStep": false,
                "indexString": "2.",
                "iterationId": 1,
                "id": {
                    "testRunId": 573,
                    "testResultId": 100000
                },
                "actionLogTimeStamp": "/Date(1675933782828)/"
            }
        ],
        "actionResultDeletes": [],
        "parameters": [],
        "parameterDeletes": []
    }
]

Monosnap Runs - Test Plans 2023-02-09 11-45-47

@vmapetr
Copy link
Contributor

vmapetr commented Feb 9, 2023

Hi @alexneo2003! Thank you for your question.
We are currently working on higher-priority issues and we will work on this one as soon as we can.

@github-actions
Copy link

This issue has had no activity in 90 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label May 10, 2023
@alexneo2003
Copy link
Author

@vmapetr any updates?

@github-actions github-actions bot removed the stale label May 10, 2023
@github-actions
Copy link

github-actions bot commented Aug 8, 2023

This issue has had no activity in 90 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label Aug 8, 2023
@alexneo2003
Copy link
Author

still waiting 😔

@github-actions github-actions bot removed the stale label Aug 8, 2023
Copy link

github-actions bot commented Nov 6, 2023

This issue has had no activity in 90 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label Nov 6, 2023
@alexneo2003
Copy link
Author

😔

@github-actions github-actions bot removed the stale label Nov 6, 2023
@MorryGun
Copy link

MorryGun commented Jan 9, 2024

I am also very interested in this aspect!

Copy link

github-actions bot commented Apr 8, 2024

This issue has had no activity in 90 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label Apr 8, 2024
@alexneo2003
Copy link
Author

😔

@github-actions github-actions bot removed the stale label Apr 8, 2024
@fulvio-diller
Copy link

fulvio-diller commented Jun 4, 2024

Came on already it's been 1.5 years

@gisioraelvis
Copy link

Interested in the feature

@fulvio-diller
Copy link

OK, so it looks like MS is launching Playwright Reporting, and they will not move this forward.

@gisioraelvis
Copy link

@fulvio-diller Could you kindly share links to the MS Playwright Reporting you mentioned.

@fulvio-diller
Copy link

It's still in trial,
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/introducing-rich-reporting-and-troubleshooting-for-microsoft/ba-p/4145372

Join Playwright Discord.
https://discord.gg/2fGfgKmB

@inluxc
Copy link

inluxc commented Jul 30, 2024

Came on people, give us feedback 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants