Skip to content

[Bug]: Login tests need to be refactored to not use act #359

@gbowne1

Description

@gbowne1

Describe the Bug

Many of the tests don't pass in /Login/tests/ because they use act

Refactor the test for Login

in particular, refactor login-validation-test.js

Steps to Reproduce

running npm test inside the client

Test Suites: 2 skipped, 4 passed, 4 of 6 total
Tests:       7 skipped, 23 passed, 30 total
Snapshots:   0 total
Time:        35.991 s
Ran all test suites related to changed files.

Watch Usage
 › Press a to run all tests.
 › Press f to run only failed tests.
 › Press q to quit watch mode.
 › Press p to filter by a filename regex pattern.
 › Press t to filter by a test name regex pattern.
 › Press Enter to trigger a test run.

latest run

Screenshots

No response

Which device are you using?

Linux VM

Which operating system are you using?

Lin

Which browser are you using?

Firefox

Additional Context

No response

Contribute

  • I am willing to contribute and submit a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yIssues with accessibitybackendThis is a backend issue or PRbugSomething isn't workingcssIssues with cssdevopsthis is a devops related feature or issue or PRenhancementNew feature or requestfeatureThis should be a new feature.frontendThis is a frontend issue or PRgood first issueGood for newcomershelp wantedExtra attention is neededmedium-complexityThis issue is medium complexitymedium-priority

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions