We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GET http://localhost:7777/admin/theme SBH1
{"instanceName":"Test Synbiohub","frontPageText":"text","firstLaunch":false,"currentTheme":{"title":"Default","description":"The default SynBioHub theme","version":"1.0.0","author":"SynBioHub","url":"http://github.com/SynBioHub/synbiohub","parameters":[{"type":"color","variable":"baseColor","name":"Base Color","default":"#D25627"}]},"themeParameters":[{"name":"Base Color","variable":"baseColor","value":"#D25627"}]}
http://localhost:6789/admin/theme SBH3
{"instanceName":"Test Synbiohub","frontPageText":"text","theme":"default","themeParameters":{"default":{}},"firstLaunch":false}
RESPONSE CODE TEST PASSED: Response codes matched 200 RESPONSE CONTENT TEST FAILED: Content does not match
POST logo = os.path.basename('./logo.jpg'); data={ 'instanceName': 'test_instance', 'frontPageText' : 'test_instance', 'baseColor' : 'A32423', 'showModuleInteractions' : 'ok', } files={ 'logo' : (logo, open('./logo.jpg', 'rb')), } compare_post_request("/admin/theme", data, headers = {"Accept": "text/plain"}, files = files, test_name = "admin_setAdministratorEmail", test_type = test_type)
[synbiohub test] test_admin_theme starting http://localhost:7777/admin/theme SBH1
{"instanceName":"Test Synbiohub","frontPageText":"text","theme":"default","themeParameters":{"default":"#D25627"},"firstLaunch":false}
RESPONSE CODE TEST PASSED: Status Code: 200 RESPONSE CONTENT TEST PASSED: Content matches
[synbiohub test] test_admin_theme completed [synbiohub test] test_admin_updateTheme starting http://localhost:7777/admin/theme SBH1
Theme updated successfully
RESPONSE CODE TEST PASSED: Status Code: 200 RESPONSE CONTENT TEST FAILED
[synbiohub test] test_admin_updateTheme completed
The text was updated successfully, but these errors were encountered:
danielfang97
Successfully merging a pull request may close this issue.
GET
http://localhost:7777/admin/theme
SBH1
{"instanceName":"Test Synbiohub","frontPageText":"text","firstLaunch":false,"currentTheme":{"title":"Default","description":"The default SynBioHub theme","version":"1.0.0","author":"SynBioHub","url":"http://github.com/SynBioHub/synbiohub","parameters":[{"type":"color","variable":"baseColor","name":"Base Color","default":"#D25627"}]},"themeParameters":[{"name":"Base Color","variable":"baseColor","value":"#D25627"}]}
http://localhost:6789/admin/theme
SBH3
{"instanceName":"Test Synbiohub","frontPageText":"text","theme":"default","themeParameters":{"default":{}},"firstLaunch":false}
RESPONSE CODE TEST PASSED: Response codes matched 200
RESPONSE CONTENT TEST FAILED: Content does not match
POST
logo = os.path.basename('./logo.jpg');
data={
'instanceName': 'test_instance',
'frontPageText' : 'test_instance',
'baseColor' : 'A32423',
'showModuleInteractions' : 'ok',
}
files={
'logo' : (logo, open('./logo.jpg', 'rb')),
}
compare_post_request("/admin/theme", data, headers = {"Accept": "text/plain"}, files = files, test_name = "admin_setAdministratorEmail", test_type = test_type)
[synbiohub test] test_admin_theme starting
http://localhost:7777/admin/theme
SBH1
{"instanceName":"Test Synbiohub","frontPageText":"text","firstLaunch":false,"currentTheme":{"title":"Default","description":"The default SynBioHub theme","version":"1.0.0","author":"SynBioHub","url":"http://github.com/SynBioHub/synbiohub","parameters":[{"type":"color","variable":"baseColor","name":"Base Color","default":"#D25627"}]},"themeParameters":[{"name":"Base Color","variable":"baseColor","value":"#D25627"}]}
http://localhost:6789/admin/theme
SBH3
{"instanceName":"Test Synbiohub","frontPageText":"text","theme":"default","themeParameters":{"default":"#D25627"},"firstLaunch":false}
RESPONSE CODE TEST PASSED: Status Code: 200
RESPONSE CONTENT TEST PASSED: Content matches
[synbiohub test] test_admin_theme completed
[synbiohub test] test_admin_updateTheme starting
http://localhost:7777/admin/theme
SBH1
Theme updated successfully
http://localhost:6789/admin/theme
SBH3
RESPONSE CODE TEST PASSED: Status Code: 200
RESPONSE CONTENT TEST FAILED
[synbiohub test] test_admin_updateTheme completed
The text was updated successfully, but these errors were encountered: