Some enters

This commit is contained in:
Guillem Hernandez Sola
2026-06-12 10:39:30 +02:00
parent 8015f1b88c
commit 69e1e34370

View File

@@ -12,6 +12,7 @@ public class DragAndDropTest extends BaseTest {
public void testApp() throws InterruptedException {
driver.navigate().to("https://the-internet.herokuapp.com/drag_and_drop");
Thread.sleep(2000);
// Localizar los dos elementos con sus IDs reales
@@ -25,6 +26,7 @@ public class DragAndDropTest extends BaseTest {
// Arrastrar A sobre B (intercambiar posiciones)
Actions dragAndDrop = new Actions(driver);
dragAndDrop.dragAndDrop(columnA, columnB).perform();
Thread.sleep(2000);
// Verificar que han intercambiado: ahora A está donde estaba B y viceversa