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

Issue with Test Continuation on Failure and NTLM Session Persistence in Cypress with BDD Cucumber Framework #30483

Closed
Nilesh10101998 opened this issue Oct 29, 2024 · 1 comment

Comments

@Nilesh10101998
Copy link

Current behavior

Hi Cypress Team,

I’m reaching out regarding an issue I’ve encountered while using the Cypress BDD Cucumber framework in our test scripts.

Problem Summary:

Test Continuation After Failure:

When running scripts, if a test scenario fails, I want the remaining scenarios to continue execution. However, the entire test suite halts upon a failure, affecting our ability to run complete regression suites and gather comprehensive failure data.

NTLM Authentication Session Persistence:

Our application requires NTLM authentication for login. The NTLM session isn’t being stored when using Cypress, causing reauthentication issues across multiple test scenarios. This hinders the seamless execution of tests since each test seems to lose the session state and fails due to login requirements.

Requirements:

Continuous Execution on Assertion Failure:
I need Cypress to continue running subsequent scenarios even if a scenario fails. Additionally, any failed assertions should be reported as failed in the final report, without stopping the overall test execution.

Persistent NTLM Authentication Session:

I am looking for guidance on how to store the NTLM authentication session or workaround methods that allow the session to persist across tests, thus eliminating the need to log in before each scenario.

Could you please provide a solution or any recommended practices to handle these issues effectively? Your guidance would greatly help in optimizing our test automation flow.

Desired behavior

No response

Test code to reproduce

..

Cypress Version

13.15.1

Node version

21.1.0

Operating System

Windows 10

Debug Logs

No response

Other

No response

@jennifer-shehane
Copy link
Member

@Nilesh10101998 I'd recommend reading our docs https://docs.cypress.io/app/get-started/why-cypress or asking in community chat The issues are reserved for bugs within Cypress, so I'll be closing this.

@jennifer-shehane jennifer-shehane closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
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

2 participants