function pollForCompletion(fnCallback, maxTime = 2000, pollSpeed = 10) {
		return new Promise((res, rej) => {
			const intervalId = setInterval(() => {
				if (fnCallback()) {
					clearInterval(intervalId);
					return res();
				} else {
					maxTime -= pollSpeed;
				}
				if (maxTime <= 0) {
					clearInterval(intervalId);
					return rej(`Callback not completed in ${maxTime}ms!`);
				}
			}, pollSpeed);
		});
	}
Checks if the FieldHelp was loaded after a SAP Companion start signal.
We use a polling here to circumvent test instabilities because of timeouts.

@param {int} maxTime by default we only try this for a max. of 2000ms (2s)
@param {int} pollSpeed default speed is a quick 10ms polling