Skip to content

Commit 31c4f95

Browse files
authored
Merge pull request #244 from ctripcorp/main_yls_fixtextexist
fix: 存在/不存在文案被截断的问题
2 parents 55b041e + 544365f commit 31c4f95

File tree

1 file changed

+4
-4
lines changed
  • flybirds/core/plugin/plugins/default/web

1 file changed

+4
-4
lines changed

flybirds/core/plugin/plugins/default/web/element.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def ele_text_not_include(self, context, param_1, param_2):
121121
verify_helper.text_not_container(param_2, e_text)
122122

123123
def find_text(self, context, param):
124-
param_temp = handle_str(param)
125-
param_dict = params_to_dic(param_temp)
124+
# param_temp = handle_str(param)
125+
param_dict = params_to_dic(param)
126126
selector_str = param_dict["selector"]
127127

128128
p_content = self.page.content()
@@ -134,8 +134,8 @@ def find_text(self, context, param):
134134
raise FlybirdVerifyException(message)
135135

136136
def find_no_text(self, context, param):
137-
param_temp = handle_str(param)
138-
param_dict = params_to_dic(param_temp)
137+
# param_temp = handle_str(param)
138+
param_dict = params_to_dic(param)
139139
selector_str = param_dict["selector"]
140140

141141
p_content = self.page.content()

0 commit comments

Comments
 (0)