tests: terminal: make tests work also on mobile scenario
tests: terminal: make tests work also on mobile scenario

The terminal line wraps in mobile.

cockpit-project/cockpit,cockpit-project/cockpit,martinpitt/cockpit,martinpitt/cockpit,mvollmer/cockpit,martinpitt/cockpit,cockpit-project/cockpit,mvollmer/cockpit,martinpitt/cockpit,mvollmer/cockpit,mvollmer/cockpit,martinpitt/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,mvollmer/cockpit