https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19185
Victor Grousset/tuxayo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81915|0 |1 is obsolete| | --- Comment #31 from Victor Grousset/tuxayo <[email protected]> --- Created attachment 103408 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103408&action=edit Bug 19185: Add selenium tests for installation and onboarding process Signed-off-by: Martin Renvoize <[email protected]> Signed-off-by: Victor Grousset/tuxayo <[email protected]> == Test plan == 1. Apply the patches (including bug 19821) 2. restart_all 3. prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t 4. result: Config entry 'database_test' does not exist at /home/vagrant/kohaclone/t/lib/Bootstrap.pm line 18 5. Edit $KOHA_CONF, add a database_test entry identical to database You should have: <database>koha_kohadev</database> <database_test>koha_kohadev</database_test> 6. restart_all 7. prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t 8. result: Entries 'database_test' and 'database' have the same value in your config at /home/vagrant/kohaclone/t/lib/Bootstrap.pm line 20. 9. Edit $KOHA_CONF, edit database_test with koha_test as DB name 10. restart_all 11. prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t 12. result: Access denied for user 'koha_kohadev'@'localhost' to database 'koha_test' 13. Connect to the DBMS 14. Example for koha_testing_docker docker exec -it koha_db_1 bash mysql -u root --password=password 15. GRANT ALL PRIVILEGES ON `koha_test`.* TO 'koha_kohadev'; 16. prove -Mt::lib::Bootstrap t/db_dependent/selenium/00-installation.t 17. result: All tests successful. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
