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

should add tests for SF controller, and js components #2

Open
Rebolon opened this issue Nov 15, 2017 · 4 comments
Open

should add tests for SF controller, and js components #2

Rebolon opened this issue Nov 15, 2017 · 4 comments

Comments

@Rebolon
Copy link
Owner

Rebolon commented Nov 15, 2017

No description provided.

@Rebolon
Copy link
Owner Author

Rebolon commented Dec 13, 2017

some JS tests has been done with testcafé :

  • login page with php
  • login page with js
  • home page

Still lacks PHP WebTestCase

@Rebolon
Copy link
Owner Author

Rebolon commented Dec 19, 2017

Need to test the model with orphanRemoval and cascade :

  • remove an author with a join in ProjectBookCreation : it should remove data in ProjectBookCreation but not the related book
  • same with the book, author should still exists
  • remove a book : the reviews must be removed, but author and editor must still be present
  • remove a serie : books should still be here but index in serie property must be set to null
  • remove all books from a serie : the serie should be removed
  • remove editor : the books should be present but not data in ProjectBookEdition

@Rebolon
Copy link
Owner Author

Rebolon commented Dec 19, 2017

Add Symfony WebTestCase with phpunit and add the related npm scripts

@Rebolon
Copy link
Owner Author

Rebolon commented Mar 7, 2019

need to investigate on Panther coz it seems good, but i face a lot of problems:

  • after submitting a form, impossible to fill it again, coz clear() doesn't clear inputs
  • after submitting a form it doesn't seem able to filter the new page (when page generated by php), or the new content (when page managed by JS, on an SPA per example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant