File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ def verify_cc_edit_saved_payments_profile(
164
164
if field_name .startswith ("cc" ):
165
165
field_value = element .get_attribute ("value" )
166
166
assert field_value in credit_card_fill_obj .__dict__ .values (), (
167
- f"{ field_name } not found in generated data. found values are: { credit_card_fill_obj } "
167
+ f"{ field_name } not found in generated data. current value is: { field_value } . \n expected values are: { credit_card_fill_obj } . \n "
168
168
)
169
169
assert field_value != credit_card_fill_obj .cvv , "CVV is displayed."
170
170
select_elements = form_container .find_elements (By .TAG_NAME , "select" )
@@ -175,7 +175,7 @@ def verify_cc_edit_saved_payments_profile(
175
175
# Only get the last two digits
176
176
field_value = val .first_selected_option .get_attribute ("value" )[- 2 :]
177
177
assert field_value in credit_card_fill_obj .__dict__ .values (), (
178
- f"{ field_name } not found in generated data. found values are: { credit_card_fill_obj } "
178
+ f"{ field_name } not found in generated data. current value is: { field_value } . \n expected values are: { credit_card_fill_obj } . \n "
179
179
)
180
180
assert field_value != credit_card_fill_obj .cvv , "CVV is displayed."
181
181
return self
You can’t perform that action at this time.
0 commit comments