From fa9b8a1ae490406069971c071f7d97f4e2ef42a6 Mon Sep 17 00:00:00 2001 From: byb11 Date: Thu, 2 Mar 2023 16:42:36 +0800 Subject: 修改tunnel的定位数据及测试数据 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/data/objects/tunnel_data.yaml | 7 +++---- other/data/template/page_template.yaml | 10 +++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/other/data/objects/tunnel_data.yaml b/other/data/objects/tunnel_data.yaml index e1132e4..d04e6ac 100644 --- a/other/data/objects/tunnel_data.yaml +++ b/other/data/objects/tunnel_data.yaml @@ -1,6 +1,5 @@ #tunnel正向用例 - -tunnel_data: +tunnel_data: #创建单个tunnel对象AB - - @@ -114,7 +113,7 @@ tunnel_data: - operatingType: edit Name: test_create_tunneA-ipv4B - AddEndpoint: click + EditAddEndpoint: click Endpoint B Type: - IPv4: click @@ -138,7 +137,7 @@ tunnel_data: - operatingType: edit Name: test_create_tunneA-B - AddEndpoint: click + EditAddEndpoint: click Endpoint B Type: - IPv6: click diff --git a/other/data/template/page_template.yaml b/other/data/template/page_template.yaml index d693043..3edbc4f 100644 --- a/other/data/template/page_template.yaml +++ b/other/data/template/page_template.yaml @@ -9508,9 +9508,13 @@ tunnel_page: type: click position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[6]/div/div/i value: AddEndpoint + - + type: click + position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[7]/div/div/i + value: EditAddEndpoint - type: combination - position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[5]/div[1]/div/div/div[1]/div[1]/span/span/i + position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[last()-2]/div[1]/div/div/div[1]/div[1]/span/span/i value: Endpoint B Type data: - @@ -9525,11 +9529,11 @@ tunnel_page: data: null - type: input - position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[5]/div[1]/div/div/div[2]/input + position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[last()-2]/div[1]/div/div/div[2]/input value: Endpoint B IP - type: input - position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[5]/div[2]/div/div/textarea + position: xpath=//*[@id="app"]/div/div[3]/div/div/div[1]/div[2]/form/div[last()-2]/div[2]/div/div/textarea value: Endpoint B Description - type: combinationSequential -- cgit v1.2.3