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

Reporting Attributes not set properly from individual specs #71

Open
anushaengu opened this issue Dec 6, 2021 · 0 comments
Open

Reporting Attributes not set properly from individual specs #71

anushaengu opened this issue Dec 6, 2021 · 0 comments

Comments

@anushaengu
Copy link

We are using Report portal as reporter,

and we are setting test attributes individually from Spec files, and they are set very randomly when using Cypress parallel

Example

spec 1 -

const attributes = [{
key: "type",
value: "suite1",
}
beforeEach(() => {
cy.addTestAttributes(attributes)
})

spec 2 -

const attributes = [{
key: "type",
value: "suite2",
}
beforeEach(() => {
cy.addTestAttributes(attributes)
})

Report portal test attributes are appearing as:

Spec1 - empty
Spec2 - type:suite1 and type:suite2

The Async calls where you gather the results must be misplacing this

Can you please resolve the issue ?

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

No branches or pull requests

1 participant