Skip to main content

e2e-testing

Implement end-to-end testing with Selenium, Playwright for CIA platform UI and workflow validation

Informações da origem

Repositório
Hack23/cia
Última atividade na origem
1 de fevereiro de 2026 às 00:05
Idioma detectado do SKILL.md
inglês
Estrelas
241
Forks
56

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
e2e-testing
description
Implement end-to-end testing with Selenium, Playwright for CIA platform UI and workflow validation
license
Apache-2.0
# E2E Testing Skill ## Purpose Test complete user workflows and UI interactions using Selenium/Playwright. ## When to Use - ✅ Testing user registration/login flows - ✅ Testing complex multi-step workflows - ✅ Testing UI rendering and interactions - ✅ Cross-browser compatibility testing ## Selenium WebDriver Pattern ```java @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(classes = ApplicationContext.class) public class LoginE2ETest { private WebDriver driver; @Before public void setup() { driver = new ChromeDriver(); } @Test public void shouldLoginSuccessfully() { driver.get("http://localhost:8080/login"); driver.findElement(By.id("username")).sendKeys("testuser"); driver.findElement(By.id("password")).sendKeys("password"); driver.findElement(By.id("login-btn")).click(); assertThat(driver.getCurrentUrl()).contains("/dashboard"); } } ``` ## Page Object Model ```java public class LoginPage { private WebDriver driver; @FindBy(id = "username") private WebElement usernameField; @FindBy(id = "password") private WebElement passwordField; @FindBy(id = "login-btn") private WebElement loginButton; public void login(String username, String password) { usernameField.sendKeys(username); passwordField.sendKeys(password); loginButton.click(); } } ``` ## References - Selenium: https://www.selenium.dev/ - E2ETestPlan.md
Ver no GitHub