app icon indicating copy to clipboard operation
app copied to clipboard

Data Driven Tests import. Missing parameters and execution results

Open siarhei-volkau opened this issue 5 months ago • 2 comments

Describe the bug [TestCase] attribute is used for Data Driven Testing when we have 1 test method, but it is executed with a different set of parameters. We have such tests in our solution. The test has 1 ID, but it should have multiple execution results - one for each set of parameters. But what I see now is that we have only one test imported - there are no parameters assigned to the test, and some executions are simply missed in Run

To Reproduce Import the results of DDT, check screenshots attached

Expected behavior The DDT test has multiple sets of parameters within one Test Case (1 Test ID), and multiple execution results.

Screenshots

Slack report:

Image

GHA HTML report:

Image

Testomat.io 'Runs' section shows 9 tests out of 11 failed, missing DDT variants:

Image

How the test looks like in code:

Image

Desktop (please complete the following information): https://app.testomat.io/projects/classical-project-e0263/test/4a4319bf-preferred-currency-switched-to-property-currency

siarhei-volkau avatar Aug 15 '25 11:08 siarhei-volkau

@siarhei-volkau

npm i --save-dev @testomatio/[email protected]

Please try this version

AZANIR avatar Aug 15 '25 17:08 AZANIR

@siarhei-volkau Could you please confirm that the solution works for you?

TetianaKhomenko avatar Oct 28 '25 09:10 TetianaKhomenko