|
|
|
@ -0,0 +1,38 @@
|
|
|
|
|
PR SIZE TEST 01
|
|
|
|
|
PRSIZE TEST 02
|
|
|
|
|
import org.junit.jupiter.api.AfterEach;
|
|
|
|
|
import org.junit.jupiter.api.BeforeEach;
|
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import org.openqa.selenium.WebDriver;
|
|
|
|
|
|
|
|
|
|
import org.openqa.selenium.chrome.ChromeDriver;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class E2ETestCase {
|
|
|
|
|
private WebDriver driver;
|
|
|
|
|
|
|
|
|
|
@BeforeEach
|
|
|
|
|
void setUp() {
|
|
|
|
|
driver = new ChromeDriver();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@AfterEach
|
|
|
|
|
void tearDown() {
|
|
|
|
|
driver.quit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
void testE2E()
|
|
|
|
|
{
|
|
|
|
|
// Arrange
|
|
|
|
|
driver.get("https://your-app-url");
|
|
|
|
|
|
|
|
|
|
// Act
|
|
|
|
|
// ...
|
|
|
|
|
|
|
|
|
|
// Assert
|
|
|
|
|
// ...
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Additional test methods...
|
|
|
|
|
}
|