#!/usr/bin/env bash ## # Pre-req - Sauce Connect is running ## setup() { HOST="https://www.carmax.com" CAPS="--capabilities ../../common/capabilities/win10.chrome50.json" CAPS="--capabilities ../../common/capabilities/win10.ff46.json" CAPS= USER_ID="terrybrown@commasavvy.com" PASSWORD="password1" TESTCFG=../testconfig/test.config.json TITLE="CARMAX" VIEWPORT="1024x768" MODEL="../appmodel/main.nav.json,../appmodel/search_results.json" EYES="--eyes --app ${TITLE} --title ${TITLE}" EYES= SAUCE="--sauce --sauce_name ${TITLE}" SAUCE= CMD="../commands/commands.yml" CMD="../commands/basic_search.yml" } setup ruby $SCOUTUI_BIN \ --config ${TESTCFG} \ --user "expense.admin@scoutui.com" --password password1 \ ${EYES} \ --viewport ${VIEWPORT} \ ${SAUCE} \ ${CAPS} \ --host ${HOST} \ --pages ${MODEL} \ --debug \ --dut "${CMD}"