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

[QA] 0.2.1 Testplan #106

Closed
jnweiger opened this issue Jul 24, 2024 · 1 comment
Closed

[QA] 0.2.1 Testplan #106

jnweiger opened this issue Jul 24, 2024 · 1 comment

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Jul 24, 2024

Diagnostics Test Plan

Examples of the logged elements:

Summaries:

{"type":"SUMMARY","reqId":"eAxU072dhgToClrWcnxg","time":"2017-08-04T09:02:01+00:00","remoteAddr":"X.X.X.X","user":"admin","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","diagnostics":{"totalSQLQueries":14,"totalSQLDurationmsec":6.5891742706299,"totalSQLParams":23,"totalEvents":22,"totalEventsDurationmsec":60.784816741943}}

Queries:

{"type":"QUERY","reqId":"0JL3npDsJNm4ufRps3pY","diagnostics":{"sqlStatement":"SELECT `fileid` FROM `filecache` WHERE `storage` = ? AND `path_hash` = ?","sqlParams":"array (   0 => 2,   1 => 'd41d8cd98f00b204e9800998ecf8427e', )","sqlQueryDurationmsec":0.28014183044434,"sqlTimestamp":1501848721.6344}}

Events:

{"type":"EVENT","reqId":"0JL3npDsJNm4ufRps3pY","diagnostics":{"eventDescription":"Initialize session","eventDurationmsec":8.965015411377,"eventTimestamp":1501848721.4691}}
Test Case Expected Result Result Related Comment
Enable the app No problems found ✔️
Having a server with several users and groups, click on the textfield to select users. Only users appear, not groups, and they can be selected without problems. ✔️
Click on the checkbox to allow collecting all data. The user selection dissapears. ✔️
With "allow collecting all data" checkbox enabled. Clean the log file. Choose in the dropdown about "what to log" Summary The log is correctly saved and only has summaries. ✔️
With "allow collecting all data" checkbox enabled. Clean the log file. Choose in the dropdown about "what to log" All queries. The log is correctly saved and only has queries. ✔️
With "allow collecting all data" checkbox enabled. Clean the log file. Choose in the dropdown about "what to log" All events. The log is correctly saved and only has events. ✔️
With "allow collecting all data" checkbox enabled. Clean the log file. Choose in the dropdown about "what to log" Everything The log is correctly saved and has queries, events and summaries. ✔️
With "allow collecting all data" checkbox enabled. Having chosen in the dropdown about "what to log" Nothing Logging stops. ✔️
Particular users
Disable the checkbox to allow collecting all data. Choose a particular user 'user1'. Choose in the dropdown about "what to log" Summary The log is correctly saved and only has summaries of 'user1' ✔️
Disable the checkbox to allow collecting all data. Choose a particular user 'user1'. Choose in the dropdown about "what to log" all queries. The log is correctly saved and only has queries of 'user1' ✔️
Disable the checkbox to allow collecting all data. Choose a particular user 'user1'. Choose in the dropdown about "what to log" all events. The log is correctly saved and only has events of 'user1' ✔️
Disable the checkbox to allow collecting all data. Choose a particular user 'user1'. Choose in the dropdown about "what to log" Everything. The log is correctly saved and only has events, queries and summaries of 'user1' ✔️
Set up a ldap server. Choose a user from ldap 'ldap_user1'. Choose in the dropdown about "what to log" Summary The log is correctly saved and only has summaries of 'ldap_user1' 🚧
Set up a ldap server. Choose a user from ldap 'ldap_user1'. Choose in the dropdown about "what to log" queries The log is correctly saved and only has queries of 'ldap_user1' 🚧
Set up a ldap server. Choose a user from ldap 'ldap_user1'. Choose in the dropdown about "what to log" events The log is correctly saved and only has events of 'ldap_user1' 🚧
Set up a ldap server. Choose a user from ldap 'ldap_user1'. Choose in the dropdown about "what to log" everything. The log is correctly saved and only has summaries of 'ldap_user1' 🚧
Browsers
Check that all the UI elements are usable when browsing with safari 🚧
Check that all the UI elements are usable when browsing with chrome ✔️
Check that all the UI elements are usable when browsing with firefox ✔️
Check that all the UI elements are usable when browsing with edge 🚧
Check that all the UI elements are usable when browsing with IE11 🚧
Databases
Having a server using mysql. Choose in the dropdown about "what to log" queries The log is correctly saved and only has queries. ✔️
Having a server using postgresql. Choose in the dropdown about "what to log" queries The log is correctly saved and only has queries. 🚧
Having a server using oracle. Choose in the dropdown about "what to log" queries The log is correctly saved and only has queries. 🚧

@jnweiger jnweiger mentioned this issue Jul 24, 2024
43 tasks
@jnweiger
Copy link
Contributor Author

QA passed.

No explicit changelog testing done. "It just works"

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

No branches or pull requests

1 participant