Skip to content

Commit

Permalink
Merge pull request #199 from geethutnair94/main
Browse files Browse the repository at this point in the history
Fix for "Holder accepts a proof request with multiple credentials"
  • Loading branch information
nodlesh authored Sep 19, 2023
2 parents 783be06 + 53a2bd0 commit b436f08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion aries-mobile-tests/features/steps/bc_wallet/proof.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ def step_impl(context):
for credential_card_text in credential_card_text_list:
if credential_name in credential_card_text:
# if the credential name is in the card check to see if the attributes are in the card
assert attribute.replace("_", " ").title() in credential_card_text
# As attributes comes in small cases and with underscore in credential_card_text
# eg value of credential_card_text : Issued by aca-py.Acme, Photo Id credential. issue_date, 2022-04-04T13:32:55.455Z, birth_dateint, > 19420116,,
# assert attribute.replace("_", " ").title() in credential_card_text
assert attribute.lower() in credential_card_text.lower()
break

@when('the user has a proof request')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def select_not_now(self):

def select_allow(self):
# 26 sec
self.find_by(self.continue_button_locator, wait_condition=WaitCondition.ELEMENT_TO_BE_CLICKABLE).click()
# self.find_by(self.continue_button_locator, wait_condition=WaitCondition.ELEMENT_TO_BE_CLICKABLE).click()
# 19 sec
#self.find_by(self.allow_button_locator, wait_condition=WaitCondition.PRESENCE_OF_ELEMENT_LOCATED).click()
self.find_by(self.continue_button_locator, wait_condition=WaitCondition.PRESENCE_OF_ELEMENT_LOCATED).click()
# 28 sec
#self.find_by(self.allow_button_locator, wait_condition=WaitCondition.VISIBILITY_OF_ELEMENT_LOCATED).click()
# 22 sec
Expand Down

0 comments on commit b436f08

Please sign in to comment.