Univention Bugzilla – Full Text Bug Listing |
Summary: | Open an App via URL query | ||
---|---|---|---|
Product: | UCS Test | Reporter: | Stefan Gohmann <gohmann> |
Component: | App Center | Assignee: | Julius Hinrichs <hinrichs> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 | CC: | best, hinrichs, wiesenthal |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | 38544, 39237 | ||
Bug Blocks: | |||
Attachments: | /usr/share/ucs-test/20_appcenter/19_can_apps_be_opened_via_url |
Description
Stefan Gohmann
2015-08-20 11:21:25 CEST
Created attachment 8273 [details]
/usr/share/ucs-test/20_appcenter/19_can_apps_be_opened_via_url
(In reply to Julius Hinrichs from comment #1) > Created attachment 8273 [details] > /usr/share/ucs-test/20_appcenter/19_can_apps_be_opened_via_url A little bit smarter version would be: from univention.testing.umc import UMCTestConnection APP_NAME = 'univention-demo' def main(): connection = UMCTestConnection() result = connection.request('appcenter/get', {'application': APP_NAME}}) assert result['id'] == APP_NAME, "result[id] is wrong: %r" % (result,) Oh and by the way: The test case doesn't cover what is actually wanted. The test case should cover if one opens UMC with the direct query string: http://demo.univention.de/univention-management-console/?module=appcenter&app=xrdp That after logging in then the appcenter module opens with the specified app. Therefore in the test-script a browser has to be started. We already have a base for browser tests in branches/ucs-4.1/component/ucs-test-selenium/ucs-test/tests. |