Skip to content

[QA] run tests with existing users #11212

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

Open
nirajacharya2 opened this issue Apr 7, 2025 · 1 comment
Open

[QA] run tests with existing users #11212

nirajacharya2 opened this issue Apr 7, 2025 · 1 comment
Labels

Comments

@nirajacharya2
Copy link
Contributor

We need to make it possible to run tests with predefined users.

we can already use predefined users to run tests.
https://github.com/owncloud/ocis/blob/master/tests/acceptance/bootstrap/FeatureContext.php#L615-L703

but we still need an admin user. also the test will try to delete the users, we don't want that.

we need to modify the test code so that

  1. run test without admin user
  2. If we are running test with predefined user do not try to delete them.
  3. after hooks should only delete resources that tests creates.
@saw-jan
Copy link
Member

saw-jan commented May 7, 2025

we need basic-auth enabled for API tests to work and I doubt that pre-production server will have it enabled.

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

No branches or pull requests

2 participants