-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refatorando alguns teste para acelerar a execução na mesma instancia …
…do browser
- Loading branch information
1 parent
117cb19
commit 7f18c98
Showing
8 changed files
with
40 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,35 @@ | ||
package br.ce.orlando.suites; | ||
|
||
import org.junit.AfterClass; | ||
import org.junit.BeforeClass; | ||
import org.junit.runner.RunWith; | ||
import org.junit.runners.Suite; | ||
import org.junit.runners.Suite.SuiteClasses; | ||
|
||
import br.ce.orlando.core.DriverFactory; | ||
import br.ce.orlando.pages.LoginPage; | ||
import br.ce.orlando.tests.ContaTest; | ||
import br.ce.orlando.tests.MovimentacaoTest; | ||
import br.ce.orlando.tests.RemoverMovimentacaoContaTest; | ||
import br.ce.orlando.tests.ResumoTest; | ||
import br.ce.orlando.tests.SaldoTest; | ||
|
||
@RunWith(Suite.class) | ||
@SuiteClasses({ | ||
ContaTest.class, | ||
MovimentacaoTest.class, | ||
RemoverMovimentacaoContaTest.class, | ||
SaldoTest.class, | ||
ResumoTest.class | ||
}) | ||
@SuiteClasses({ ContaTest.class, MovimentacaoTest.class, RemoverMovimentacaoContaTest.class, SaldoTest.class, | ||
ResumoTest.class }) | ||
public class SuiteGeral { | ||
private static LoginPage page = new LoginPage(); | ||
|
||
@BeforeClass | ||
public static void inicializa() { | ||
page.acessarTelaInicial(); | ||
page.setEmail("orlando@7"); | ||
page.setSenha("1234567"); | ||
page.entrar(); | ||
} | ||
|
||
@AfterClass | ||
public static void finaliza() { | ||
DriverFactory.killDriver(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters