amOnPage('/'); $I->see('Nombre de usuario'); $I->fillField('_username', 'admin'); $I->fillField('_password', 'adminpass'); $I->click('_submit'); $I->wait('5'); $directorio = '02_base/'; shell_exec('mkdir -p ./tests/_output/debug/' . $head . "/" . $directorio); #screen dash $I->makeScreenshot($head."/".$directorio.'2dash'); $I->scrollTo(['css' => 'h3.box-title'], 0, 0); $I->makeScreenshot($head."/".$directorio.'2dash1'); $I->scrollTo(['css' => 'h3.box-title'], 0, 600); $I->makeScreenshot($head."/".$directorio.'2dash2'); #Screen lista Codigo Auth $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/authcode/list'); $I->makeScreenshot($head."/".$directorio.'3codauth'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'3codauth1'); #Screen lista Cliente Auth $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/oauthclient/list'); $I->makeScreenshot($head."/".$directorio.'4cliauth'); #Screen lista Tokens Acceso $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/accesstoken/list'); $I->makeScreenshot($head."/".$directorio.'5tokenacceso'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'5tokenacceso1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'5tokenacceso2'); #Screen lista Tokens de Refresco $I->amOnUrl('http://base.fd3.flowdat.com/admin/base/oauthserver/refreshtoken/list'); $I->makeScreenshot($head."/".$directorio.'6tokenref'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'6tokenref1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'6tokenref2'); #Screen lista Workflows $I->amOnUrl('http://base.fd3.flowdat.com/admin/workflow/workflow/list'); $I->makeScreenshot($head."/".$directorio.'7workflow'); #Screen lista Workflows Acciones $I->amOnUrl('http://base.fd3.flowdat.com/admin/workflow/action/list'); $I->makeScreenshot($head."/".$directorio.'8acciones'); #Screen lista Alertas $I->amOnUrl('http://base.fd3.flowdat.com/admin/alert/alert/list'); $I->makeScreenshot($head."/".$directorio.'9alertas'); #Screen lista Tipos de Alertas $I->amOnUrl('http://base.fd3.flowdat.com/admin/alert/alerttype/list'); $I->makeScreenshot($head."/".$directorio.'10tipoalertas'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'10tipoalertas1'); #Screen lista Usuarios $I->amOnUrl('http://base.fd3.flowdat.com/admin/user/list'); $I->makeScreenshot($head."/".$directorio.'11usuarios'); #Screen lista Grupos $I->amOnUrl('http://base.fd3.flowdat.com/admin/group/list'); $I->makeScreenshot($head."/".$directorio.'12grupos'); #Screen lista Clientes $I->amOnUrl('http://base.fd3.flowdat.com/admin/client/client/list'); $I->makeScreenshot($head."/".$directorio.'13clientes'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'13clientes1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'13clientes2'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200); $I->makeScreenshot($head."/".$directorio.'13clientes3'); #Screen lista Dispositivos $I->amOnUrl('http://base.fd3.flowdat.com/admin/license/device/list'); $I->makeScreenshot($head."/".$directorio.'14dispositivos'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'14dispositivos1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'14dispositivos2'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200); $I->makeScreenshot($head."/".$directorio.'14dispositivos3'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1800); $I->makeScreenshot($head."/".$directorio.'14dispositivos4'); } }