Skip to content

e2e-tests: Add tests for allowed_users broker property#1469

Merged
nooreldeenmansour merged 1 commit intomainfrom
e2e-tests-allowed-users
Apr 29, 2026
Merged

e2e-tests: Add tests for allowed_users broker property#1469
nooreldeenmansour merged 1 commit intomainfrom
e2e-tests-allowed-users

Conversation

@nooreldeenmansour
Copy link
Copy Markdown
Member

@nooreldeenmansour nooreldeenmansour commented Apr 16, 2026

Add tests for the following scenarios:

  • allowed_users is set to OWNER and the owner is set to the test user (login successful)
  • allowed_users is set to OWNER and owner is explicitly set to an empty value (login denied)
  • allowed_users is set to user and login with that user (login successful)
  • allowed_users set to a specific user and login with a different user (login denied)
  • allowed_users is set to to ALL (login successful)

UDENG-9543
UDENG-9544
UDENG-9545
UDENG-9546
UDENG-9547

@nooreldeenmansour nooreldeenmansour changed the title e2e-tests: Add tests for allowed_users broker config property e2e-tests: Add tests for allowed_users broker property Apr 16, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.73%. Comparing base (3d8abfc) to head (0ea21c7).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1469      +/-   ##
==========================================
- Coverage   86.92%   86.73%   -0.19%     
==========================================
  Files          93       93              
  Lines        6401     6401              
  Branches      111      111              
==========================================
- Hits         5564     5552      -12     
- Misses        781      793      +12     
  Partials       56       56              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nooreldeenmansour nooreldeenmansour force-pushed the e2e-tests-allowed-users branch 2 times, most recently from 3a25d0d to 5034c2d Compare April 16, 2026 17:29
@nooreldeenmansour
Copy link
Copy Markdown
Member Author

Any idea why the provisioning ci jobs are failing?

This my third time doing a force push to trigger CI

@adombeck
Copy link
Copy Markdown
Contributor

Any idea why the provisioning ci jobs are failing?

This my third time doing a force push to trigger CI

The Ubuntu archive is having issues today

@adombeck
Copy link
Copy Markdown
Contributor

https://status.canonical.com/

@nooreldeenmansour nooreldeenmansour force-pushed the e2e-tests-allowed-users branch 2 times, most recently from b07f13c to caf67c7 Compare April 17, 2026 10:32
@nooreldeenmansour
Copy link
Copy Markdown
Member Author

The archive is operational now, but the CI jobs is failing because the broker snaps are failing to build. Probably related to #1470

Comment thread e2e-tests/tests/login_denied_with_allowed_users_owner_empty.robot Outdated
Copy link
Copy Markdown
Member

@denisonbarbosa denisonbarbosa left a comment

Choose a reason for hiding this comment

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

Changes look good to me. Let's wait for the e2e run to finish so we can ensure everything is working out properly.

@nooreldeenmansour nooreldeenmansour force-pushed the e2e-tests-allowed-users branch from e4ddb3c to 0ea21c7 Compare April 29, 2026 13:13
@nooreldeenmansour nooreldeenmansour merged commit 0e1bb43 into main Apr 29, 2026
33 of 39 checks passed
@nooreldeenmansour nooreldeenmansour deleted the e2e-tests-allowed-users branch April 29, 2026 15:34
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