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

[BE] Check features tests #97

Open
CloudSalander opened this issue Oct 18, 2023 · 3 comments
Open

[BE] Check features tests #97

CloudSalander opened this issue Oct 18, 2023 · 3 comments

Comments

@CloudSalander
Copy link
Collaborator

We need to check out our feature tests.

Just check it and see what we need to fix.

@CloudSalander CloudSalander converted this from a draft issue Oct 18, 2023
@CloudSalander CloudSalander moved this from 🆕 New to 🏗 In progress in ita-landing Oct 18, 2023
@androsrivas
Copy link
Collaborator

AppTest -> 4/16 failed tests

  • can not store an app with a missing field -> 500 status received. expected 422
  • can not store an app with wrong data -> failed to find a validation error in the response for key: 'url'
  • can not store an app with empty fields -> 500 status received. expected 422
  • can not update an app with missing field -> 500 status received. expected 422

CollaboratorTest -> 7/8 failed tests

  • index get collaborators landing -> 500 status received. expected 200
  • index get collaborators ita wiki -> 500 status received. expected 200
  • index get collaborators challanges -> 500 status received. expected 200
  • collaborators logic -> cannot access offset of type string on string
  • collaborator landing function -> cannot access offset of type string on string
  • collaborator ita wiki function -> cannot access offset of type string on string
  • collaborator challenges function -> cannot access offset of type string on string

LoginTest -> 1/5 failed tests

  • a user cannot be logged in with missing fields -> 500 status received. expected 422

ResetPasswordTest -> 3/6 failed tests

  • user can reset password -> 500 status received. expected 200
  • user cant reset password cause put it wrong -> 500 status received. expected 302
  • user have wrong token -> 500 status received. expected 400

SendEmailTest-> 3/3 failed tests

  • ok response when email is sended with valid email -> 500 status received. expected 200
  • email is not sended with invalid email -> 500 status received. expected 400
  • email is sent to the specified email -> the expected [App\Mail\MailableCode] mailable was not sent

TOTAL: 19 failed (including Feature\ExampleTest.php), 47 passed

@androsrivas androsrivas moved this from 🏗 In progress to 👀 In review in ita-landing Oct 19, 2023
@CloudSalander
Copy link
Collaborator Author

Please, can you tell me in what branch you did the tests checking? Thanks :)

@CloudSalander CloudSalander moved this from 👀 In review to 🏗 In progress in ita-landing Nov 5, 2023
@androsrivas
Copy link
Collaborator

Please, can you tell me in what branch you did the tests checking? Thanks :)

I did the testing in branch develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

2 participants