diff --git a/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php b/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php index 61cac3b29..9cdc40a08 100644 --- a/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php +++ b/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php @@ -132,24 +132,28 @@ public function test_tramitar_processo_anexado_da_origem() $this->sairSistema(); } - // public function test_verificar_envio_processo() - // { - // $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; - - // $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); - // $this->visualizarProcessoTramitadosEmLote($this); - // $this->navegarProcessoEmLote(0); - - // $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { - // sleep(5); - // $testCase->refresh(); - // $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); - // $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); - // return true; - // }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); + public function test_verificar_envio_processo() + { + $this->markTestIncomplete( + 'Tela de confirmação de envio suprimida. Aguardando refatoração da funcionalidade do bloco para refatorar este teste.' + ); - // sleep(5); - // } + $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; + + $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); + $this->visualizarProcessoTramitadosEmLote($this); + $this->navegarProcessoEmLote(0); + + $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { + sleep(5); + $testCase->refresh(); + $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); + $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); + return true; + }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); + + sleep(5); + } public function test_verificar_envio_tramite_em_bloco() { diff --git a/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteTest.php b/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteTest.php index e71413342..e436d0b1c 100644 --- a/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteTest.php +++ b/tests_sei4/funcional/tests/TramiteBlocoExternoLimiteTest.php @@ -113,26 +113,30 @@ public function teste_tramite_bloco_externo() * * @return void */ - // public function test_verificar_envio_processo() - // { - // $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; - - // $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); - // $this->visualizarProcessoTramitadosEmLote($this); - // $this->navegarProcessoEmLote(0); - - // $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { - // sleep(5); - // $testCase->refresh(); - // $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); - // $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); - // return true; - // }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); + public function test_verificar_envio_processo() + { + $this->markTestIncomplete( + 'Tela de confirmação de envio suprimida. Aguardando refatoração da funcionalidade do bloco para refatorar este teste.' + ); + + $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; + + $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); + $this->visualizarProcessoTramitadosEmLote($this); + $this->navegarProcessoEmLote(0); + + $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { + sleep(5); + $testCase->refresh(); + $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); + $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); + return true; + }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); - // sleep(5); + sleep(5); - // $this->sairSistema(); - // } + $this->sairSistema(); + } /** * Verificar atualização do bloco diff --git a/tests_super/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php b/tests_super/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php index bfa309c78..f0f984fca 100644 --- a/tests_super/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php +++ b/tests_super/funcional/tests/TramiteBlocoExternoLimiteAnexoTest.php @@ -138,24 +138,28 @@ public function test_tramitar_processo_anexado_da_origem() $this->sairSistema(); } - // public function test_verificar_envio_processo() - // { - // $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; - - // $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); - // $this->visualizarProcessoTramitadosEmLote($this); - // $this->navegarProcessoEmLote(0); - - // $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { - // sleep(5); - // $testCase->refresh(); - // $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); - // $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); - // return true; - // }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); + public function test_verificar_envio_processo() + { + $this->markTestIncomplete( + 'Tela de confirmação de envio suprimida. Aguardando refatoração da funcionalidade do bloco para refatorar este teste.' + ); - // sleep(5); - // } + $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; + + $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); + $this->visualizarProcessoTramitadosEmLote($this); + $this->navegarProcessoEmLote(0); + + $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { + sleep(5); + $testCase->refresh(); + $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); + $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); + return true; + }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); + + sleep(5); + } public function test_verificar_envio_tramite_em_bloco() { diff --git a/tests_super/funcional/tests/TramiteBlocoExternoLimiteTest.php b/tests_super/funcional/tests/TramiteBlocoExternoLimiteTest.php index 24956307f..3178e65a1 100644 --- a/tests_super/funcional/tests/TramiteBlocoExternoLimiteTest.php +++ b/tests_super/funcional/tests/TramiteBlocoExternoLimiteTest.php @@ -119,26 +119,30 @@ public function teste_tramite_bloco_externo() * * @return void */ - // public function test_verificar_envio_processo() - // { - // $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; - - // $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); - // $this->visualizarProcessoTramitadosEmLote($this); - // $this->navegarProcessoEmLote(0); - - // $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { - // sleep(5); - // $testCase->refresh(); - // $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); - // $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); - // return true; - // }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); + public function test_verificar_envio_processo() + { + $this->markTestIncomplete( + 'Tela de confirmação de envio suprimida. Aguardando refatoração da funcionalidade do bloco para refatorar este teste.' + ); + + $orgaosDiferentes = self::$remetente['URL'] != self::$destinatario['URL']; + + $this->acessarSistema(self::$remetente['URL'], self::$remetente['SIGLA_UNIDADE'], self::$remetente['LOGIN'], self::$remetente['SENHA']); + $this->visualizarProcessoTramitadosEmLote($this); + $this->navegarProcessoEmLote(0); + + $this->waitUntil(function ($testCase) use (&$orgaosDiferentes) { + sleep(5); + $testCase->refresh(); + $paginaTramitarProcessoEmLote = new PaginaTramitarProcessoEmLote($testCase); + $testCase->assertStringContainsString(utf8_encode("Nenhum registro encontrado."), $paginaTramitarProcessoEmLote->informacaoLote()); + return true; + }, PEN_WAIT_TIMEOUT_PROCESSAMENTO_EM_LOTE); - // sleep(5); + sleep(5); - // $this->sairSistema(); - // } + $this->sairSistema(); + } /** * Verificar atualização do bloco