Skip to content

Conversation

@DragnEmperor
Copy link
Member

@DragnEmperor DragnEmperor commented Apr 13, 2025

Imported selenium test cases for device admin from django_loci. The readonly tests were failing due to user not belonging to the same organization of instances.

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.

Description of Changes

Imported selenium test cases for device admin from django_loci.
The readonly tests were failing due to user not belonging to the same organization of instances.

Imported selenium test cases for device admin from `django_loci`.
The readonly tests were failing due to user not belonging to the
same organization of instances.

Signed-off-by: DragnEmperor <[email protected]>
Copy link
Member

@codesankalp codesankalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DragnEmperor I approved the tests workflow, but they’re still failing. If the failures are due to a dependency on your django-loci branch, please add a tarball link to your branch in requirements.txt to ensure the tests pass.

Once the django-loci PR is merged, you can revert the requirements.txt change in this PR.

The geo selenium tests were failing overall due to
organization not being created for the device. Added
organization mixin to solve this.
Also added a temporary link to `django_loci` tarball
in requirements.txt to tackle failing builds.

Signed-off-by: DragnEmperor <[email protected]>
@DragnEmperor DragnEmperor force-pushed the tests/failing-readonly-tests branch from dadf6c7 to 643525a Compare April 16, 2025 16:29
@nemesifier nemesifier merged commit a42c4fc into openwisp:master Apr 25, 2025
1 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants