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

Lead Momentum test tools fail if user already exists in Lead Momentum #186

Open
svange opened this issue Aug 7, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working tests Test scripts, primarily automated testing

Comments

@svange
Copy link
Owner

svange commented Aug 7, 2024

Description

Tests that modify Lead Momentum dbs via api calls should ensure they are in a proper state before beginning and that they clean up after themselves even after they fail.

Steps to reproduce

  1. Create contact in Lead Momentum
  2. Add appointment to contact in Lead Momentum
  3. Run any test to create an appoinment
  4. Verify that tests fail because we expect ONE user and only after it's created in the test, and the user is expected to be empty.

Current behavior

Tests fail in CI if user already exists in Lead Momentum

Desired behavior

Tests should clean up after themselves an validate the state of leadmo before beginning.

This also requires a dedicated pipeline/account for testing in LeadMo to keep things organized.

Screenshots

No response

@svange svange added bug Something isn't working tests Test scripts, primarily automated testing labels Aug 7, 2024
@svange svange self-assigned this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tests Test scripts, primarily automated testing
Projects
None yet
Development

No branches or pull requests

1 participant