ShowMeHowItWorks.st
changeset 3801 e45e18e26a7d
parent 3800 fb1763b613bf
child 3803 34ea88ec4dc4
equal deleted inserted replaced
3800:fb1763b613bf 3801:e45e18e26a7d
  1507         self assert:(foundByTitle size == 1) message:'multiple components found by title'.
  1507         self assert:(foundByTitle size == 1) message:'multiple components found by title'.
  1508         ^ foundByTitle first.
  1508         ^ foundByTitle first.
  1509     ].
  1509     ].
  1510     foundByLabel notEmpty ifTrue:[
  1510     foundByLabel notEmpty ifTrue:[
  1511         checkIfAllMenuItemsDoTheSame value:foundByLabel.
  1511         checkIfAllMenuItemsDoTheSame value:foundByLabel.
  1512         self assert:(foundByLabel size == 1) message:'multiple components found by label'.
  1512         self assert:(foundByLabel size == 1) message:('multiple components found by label: %1' bindWith:componentNameOrPath).
  1513         ^ foundByLabel first.
  1513         ^ foundByLabel first.
  1514     ].
  1514     ].
  1515     ^ component
  1515     ^ component
  1516 
  1516 
  1517     "
  1517     "