Skip to content

Commit

Permalink
Another slight improvement to a radiobutton test
Browse files Browse the repository at this point in the history
Instead of just assuming the value of the radiobutton before
testing the keyword, the test now explicitly sets it to
some other value first.
  • Loading branch information
boakley committed Apr 1, 2022
1 parent e4e0342 commit cdb7b66
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cumulusci/robotframework/tests/salesforce/forms.robot
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,15 @@ Non-lightning based form - radiobutton
# with old school non-lightning radiobuttons
# Thankfully, I can use built-in keywords to validate that
# the radiobuttons have actually bet set.
Log attempting to select 'Send through Salesforce'

# make sure it is set to 1
Select radio button use_external_email 1

# then try to use our keyword to set it
Input form data
... Send through Salesforce selected

# ... and then verify that it was set
Radio button should be set to use_external_email 0

Non-lightning based form - Shipment
Expand Down

0 comments on commit cdb7b66

Please sign in to comment.