class Gitlab::QA::Runtime::TokenFinder
def find_token_from_file
def find_token_from_file @token_from_file ||= File.read(token_file_path).strip rescue Errno::ENOENT fail "Please provide a valid access token with the `-t/--token` option, the `GITLAB_QA_ACCESS_TOKEN` environment variable, or in the `#{token_file_path}` file!" end