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

create_event cypress test has a back-end that needs to be stubed. #255

Open
abdellani opened this issue Jul 11, 2019 · 0 comments
Open

create_event cypress test has a back-end that needs to be stubed. #255

abdellani opened this issue Jul 11, 2019 · 0 comments

Comments

@abdellani
Copy link
Contributor

Expected Behavior

The cypress tests are failed or succeeded independently of the back-end status.

Current Behavior

In the create_event test, there is a call to the back-end that is triggered when the save button is pressed. This makes the results of the test depend on the back-end server status. When the server goes down, the test fails.

screenshot

Possible Solution

we need to stub the request.

Steps to Reproduce (for bugs)

  1. Run the test when the development server is down.

Context

Your Environment

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

Successfully merging a pull request may close this issue.

1 participant