From 604335e990d017a8dd998bf5f1f54afbcd2895c7 Mon Sep 17 00:00:00 2001 From: kongtiaowang Date: Fri, 15 Dec 2023 13:11:52 -0500 Subject: [PATCH] fix test --- modules/schedule_module/test/scheduleTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/schedule_module/test/scheduleTest.php b/modules/schedule_module/test/scheduleTest.php index e2a8baf63f4..271c7d272e3 100644 --- a/modules/schedule_module/test/scheduleTest.php +++ b/modules/schedule_module/test/scheduleTest.php @@ -28,8 +28,8 @@ class ScheduleTest extends LorisIntegrationTest " div > div.swal2-actions > button.swal2-confirm.swal2-styled"; static $addBtn = "#default-panel > div > div > div.table-header". " > div > div > div:nth-child(2) > button:nth-child(1)"; - static $edit = "#dynamictable > tbody > tr > td:nth-child(9) > button"; - static $delete = "#dynamictable > tbody > tr > td:nth-child(10) > button"; + static $edit = "#dynamictable >tbody>tr:nth-child(1)>td:nth-child(10)>button"; + static $delete = "#dynamictable >tbody>tr:nth-child(1)>td:nth-child(11)>button"; static $msg = "body > div.swal2-container.swal2-center.swal2-shown > ". "div > div.swal2-actions > button.swal2-confirm.swal2-styled"; static $create = "#addScheduleForm > div > div:nth-child(7) ".