-
Notifications
You must be signed in to change notification settings - Fork 10
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
[Issue] There are some redundant results in Runs #86
Comments
|
@estruyf |
@AmyAn666 |
@alexneo2003 as you implemented the |
Can you look at the example and tell us what it's wrong with it? |
Thanks @alexneo2003 I removed After investigation, I finally found that if the case is under the same testPlan but 2 different test suites, so the result would log twice, one with correct tester the other one with Unassigned Tester. Should log once, delete the once with Unassigned Tester
|
It's in your current situation Tester unassigned, but how to handle it for other users?)) Each TestCase (whether it will be in multiple suites or test planes) has unique identifier - it's TestPoint {
"points": [
{
"id": 4834315,
"url": "https://dev.azure.com/apps-apps/some-project/_apis/test/Plans/3663833/Suites/5133915/Points/4834315",
"assignedTo": {
"displayName": "User Name <36da45f1-dd2c-4d1f-af13-5abe46b99921\\[email protected]>",
"id": "964caade-7fd5-69d1-8a42-f56aac6e0dc8"
},
"automated": false,
"configuration": {
"id": "991",
"name": "Windows 10"
},
"lastTestRun": {
"id": "0"
},
"lastResult": {
"id": "0"
},
"outcome": "Unspecified",
"state": "Ready",
"lastResultState": "Unspecified",
"suite": {
"id": "5133915"
},
"testCase": {
"id": "5133919"
},
"testPlan": {
"id": "3663833"
},
"workItemProperties": [
{
"workItem": {
"key": "Microsoft.VSTS.TCM.AutomationStatus",
"value": "Not Automated"
}
}
]
}
]
} It contains suite id relation |
@alexneo2003 Actually in our condition, I run the test cases with multiple suites once. In my mind, one test case with one environment = one test point, I expect the same test case under two different suites record one result. Could you please give us a parameter in playwright.config.ts to set whether record once or twice?
|
or three or four times?)) |
Can it be a boolen, once true log once, once false log as many times as suites number? If user choose log multiple times, the Tester should be configured displayName not Unassigned
|
If I have 4 cases in different suites and this 4 cases has only one difference - suite? |
@alexneo2003 If above confused, any way to avoid multiple record? |
I understand you but, maybe, you don't understand me - at this moment, without any huge refactoring, we can't publish results for specific test case (especially if it placed in different suites within one test plan) |
Okay, thanks anyway. |
@AmyAn666 @alex_neo/[email protected] pls, install it, read the docs about Pls, come back with feedback |
I got an error Cannot read properties of null (reading 'continuationToken') when set rootSuiteId for a root testplanID, it has son folder and child folders. |
new package, check it pls @alex_neo/[email protected] |
@alexneo2003 Got TypeError: Cannot read properties of null (reading 'length') |
@AmyAn666
|
@alexneo2003 I still got the same error, anything to config from my side? |
@AmyAn666 can you share with me your playwright-azure-reporter config block from |
@AmyAn666 and can you run your tests with new version of package |
@AmyAn666 any updates? |
Hello,
Thank you very much for this powerful tool, which provides strong support for our test scripts. However, I encountered the following two issues, I would appreciate for your help:
Thanks
The text was updated successfully, but these errors were encountered: