borkweb / products-test-automation

Other
3 stars 0 forks source link

Fix more issues found while working with tric in CI/Linux context #60

Closed lucatume closed 4 years ago

lucatume commented 4 years ago

This PR is a follow-up to #59 that addresses more issues I've found while using tric on Linux.

I will add more fixes as I go, currently:

  1. Use the shell provided by the codeception service when using tric shell.
  2. Refactor code to reduce complexity and fix host IP address fetching on Linux.
  3. Irrobust the check for the WP and plugins directory creation; this could results in tric attempting to create weird directories paths when tric configuration is ported over from another installation (e.g. rsynced from my macOS machine to my Linux machine).