From 1bfe9614f19be3d5dffa6216f4f7ed5dc09a0c78 Mon Sep 17 00:00:00 2001 From: sunxiaoqi Date: Wed, 20 Nov 2024 15:00:58 +0800 Subject: [PATCH] * [task#133024,doing,0.1h] Add ui test files of edit a todo --- module/my/test/ui/page/todo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/my/test/ui/page/todo.php b/module/my/test/ui/page/todo.php index 16a43fb62b..54e902fc60 100644 --- a/module/my/test/ui/page/todo.php +++ b/module/my/test/ui/page/todo.php @@ -7,7 +7,8 @@ class todoPage extends page $xpath = array( 'addTodo' => '/html/body/div/div/div[1]/div[2]/div/a', 'addTodoBtn' => '/html/body/div[2]/div/div/div[2]/div/div[2]/form/div[15]/div/button', - 'fstTodoTitle' => '/html/body/div/div/div[2]/div/div/div[2]/div[1]/div/div[2]/div/a' + 'fstTodoTitle' => '/html/body/div/div/div[2]/div/div/div[2]/div[1]/div/div[2]/div/a', + 'editTodoBtn' => '/html/body/div[5]/div/div/div[2]/div/div/form/div[9]/div/button' ); $this->dom->xpath = array_merge($this->dom->xpath, $xpath); }