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

tests: add admin login tests #30

Open
alejandromumo opened this issue Aug 31, 2022 · 0 comments
Open

tests: add admin login tests #30

alejandromumo opened this issue Aug 31, 2022 · 0 comments

Comments

@alejandromumo
Copy link
Member

alejandromumo commented Aug 31, 2022

Update: I can't test whether an admin can view an invenio-administration view using a test application. The request gets redirected and then a FileNotFound: manifest.json error is thrown. It seems to me that the test application does not build assets and, therefore, no manifest.json is found.

client_with_login.get('/administration/') # returns a 302 and redirects to '/'

This seems to be a broader issue also mentioned here. And it seems we're testing a similar behaviour and ran into the same issue in invenio-admin.

@alejandromumo alejandromumo moved this from 🆕 Triage to 📋 To do in InvenioRDM v10 - Back-office Aug 31, 2022
@alejandromumo alejandromumo moved this from 📋 To do to 🏗 In progress in InvenioRDM v10 - Back-office Aug 31, 2022
@alejandromumo alejandromumo self-assigned this Aug 31, 2022
@alejandromumo alejandromumo moved this from 🏗 In progress to 📋 To do in InvenioRDM v10 - Back-office Sep 2, 2022
@alejandromumo alejandromumo removed their assignment Sep 2, 2022
@kpsherva kpsherva moved this from 📋 To do to 🆕 Triage in InvenioRDM v10 - Back-office Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: 🆕 Triage
Development

No branches or pull requests

1 participant