Shelex / cypress-allure-plugin

cypress plugin to use allure reporter api in tests

Home Page:https://shelex.github.io/cypress-allure-plugin-example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests within the same script are marked as skipped after a domain change

nlclarke opened this issue · comments

Describe the bug
Tests within the same script are marked as skipped after a domain change.

If cy.visit() is executed on multiple "new" domain within the same test script, the Cypress Runner is refreshed/cleared.

All test cases that were executed before each restart are marked skipped in the generated json files and report.

Test Code to Reproduce:
https://github.com/nlclarke/cypress-allure-plugin-issue-1
(Steps to run included in readme)

In this example, all but the last test case are marked as skipped despite being run successfully.

To Reproduce
Steps to reproduce the behavior:

  1. Create a cypress script with 2 or more test case where you visit a different domain for each test
  2. Observe the generated allure test results to see that tests prior to last domain change are marked as skipped

Expected behavior
All test cases should have the correct result status

Environment (please complete the following information):

  • Cypress version: 12.2.0
  • OS: Windows
  • cypress-allure-plugin version: 2.34.0

Hi @nlclarke
Issue is resolved in v2.38.3

Example report

Great everything looks to be working on my end. Thank you!