Bug with two cy.visit
Describe the bug I identified incorrect behavior in the plugin. Cypress allows me to have two cy.visit files within the same SPC that navigate to different URLs. When this situation occurs when creating result records, Allure gets lost, creating records with pending. In Cypress, the test passed, but the report shows as skipped.
To Reproduce Steps to reproduce the behavior: 1 create a spec that has two visits, each with different URLs 2 generate the test report
Expected behavior will generate extra result files, and in its pending content,
Screenshots https://github.com/allure-framework/allure-js/issues/1267
Desktop (please complete the following information):
- OS: Win 11
- Browser Electron
- Version 130
Hello @AlexsandroZapani thank you for submitting this issue Could you confirm that multiple cy.visits are the rrot cause behind he skipped steps? If yes, it might make sense to combine the context in one of the tickets (1267) and close the other as a dup.
Hello, yes I can reproduce this bug, in my specializations, I have 2 URLs, which are not within the same IT, however within the specialization I have several ITs and each one accesses one of them, this flow causes the situation mentioned in task 1267, where when generating the result, within it it remains as pending and at the time of generating the result it passes to skipped, to partially resolve, just put one of the visits within a before.
Attached are the records of an execution like the one mentioned above, this will contain the problem, which can be analyzed in the records:
TestCaseId: 7411a4fe56f68047ae35a62dea60c907
38b1a237-f519-4df8-9683-e29b23e78d8c-result.json 1718efbe-c7f9-4eaf-97fd-97df59c9f401-result.json
- Arquivos:
1718efbe-c7f9-4eaf-97fd-97df59c9f401-result.json(19KB)38b1a237-f519-4df8-9683-e29b23e78d8c-result.json(1.1KB)
@clergyman Do you have good news? :D