Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

✅ 💄 Add End-To-End UI test suite #395

Merged
merged 48 commits into from
Feb 17, 2025
Merged

✅ 💄 Add End-To-End UI test suite #395

merged 48 commits into from
Feb 17, 2025

Conversation

linkdd
Copy link
Contributor

@linkdd linkdd commented Feb 11, 2025

Decision Record

Related to #77

In a previous Dependabot upgrade, a visual bug was introduced (see #391). Yet, the test suite was successful. This is because we don't actually test the UI.

This PR introduces Robot Framework with the Selenium Library to automate End To End UI tests.

Changes

  • ✅ 🔨 Add Robot Framework test suite
  • ✅ Add UI test cases
  • 👷 Run UI test suite in CI

License Agreement

  • I guarantee that I have the rights on the code submitted in this PR
  • I accept that this contribution will be released under the terms of the MIT License

@linkdd linkdd self-assigned this Feb 11, 2025
Copy link

github-actions bot commented Feb 11, 2025

TestsPassed ✅SkippedFailed
API End-To-End Test Report11 ran11 passed0 skipped0 failed

Copy link

github-actions bot commented Feb 11, 2025

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
22 0 0 22 100 1m53.982281999s

Passed Tests

Name ⏱️ Duration Suite
Create and Delete Personal Access Token 9.172 s Account
Change Password 5.794 s Account
Restore Password 4.639 s Account
Create test role 5.412 s Admin
Create test user 5.482 s Admin
Log as test user 3.617 s Admin
Create new alert 4.835 s Alerts
Configure alert 5.410 s Alerts
Delete alert 4.569 s Alerts
Login With Valid Credentials 3.610 s Auth
Login With Invalid Credentials 3.291 s Auth
Logout 4.168 s Auth
Create new stream 4.857 s Storage
Configure stream 5.460 s Storage
Delete stream 4.644 s Storage
View logs sent on default pipeline 5.682 s Stream-Viewer
View logs sent via Syslog (RFC 5424) 5.638 s Stream-Viewer
View logs sent via Syslog (RFC 3164) 5.573 s Stream-Viewer
Watch logs 7.050 s Stream-Viewer
Create new transformer 4.857 s Transformers
Configure transformer 5.569 s Transformers
Delete transformer 4.653 s Transformers

@lvenier
Copy link
Collaborator

lvenier commented Feb 14, 2025

Awesome PR !

@linkdd linkdd merged commit a672572 into main Feb 17, 2025
10 checks passed
@linkdd linkdd deleted the ui-tests branch February 17, 2025 10:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants