Skip to content

Test: Write test successful login user gets redirected to Homepage with username on main navbar #33

Open
@mtreacy002

Description

@mtreacy002

Description

As a developer,
I need test if redirection post successful login works
so that I can make sure user who has successfully logged-in gets redirected to the homepage with the main navbar showing username of login user.

Mocks

Acceptance Criteria

Update [Required]

  • Write tests using React Testing Library in the Login.test.js file
  • test if user gets redirected to homepage with main navbar showing their username after successful login

Enhancement to Update [Optional]

NA

Definition of Done

  • All of the required items are completed.
  • Approval by 1 mentor.

Estimation

1 day

Metadata

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

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions