Skip to content

Create a user journey test from sending a mentorship request and the user deletes the request. #911

Open
@rpattath

Description

Description

I need to test a specific user path,
so that I can make sure a specific path can be executed usefully in a deterministic way.

This test should be located in a specific folder for separation concerns, it could be called tests/user_journey.
Next, I'll define a very broad scenario, but simple enough for you to start.

https://github.com/anitab-org/mentorship-backend/blob/develop/tests/user_journey/test_happy_path_1.py can be used as a reference but make sure you include all possible test scenarios and not just the happy path.

Scenario: User A (mentor) and User B (mentee)

1. User B (mentee) sends a request to User A (mentor)
2. User B (mentee) deletes request

Definition of Done

  • Create tests for for positive and negative scenarios.

Estimation

3 hours

Metadata

Assignees

Labels

Category: CodingChanges to code base or refactored code that doesn't fix a bug.Category: Quality AssuranceChanges to code or files that improve testing or fixes bugs.Type: TestingUI Tests, Integration Tests, Travis CI, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions