Skip to content

Commit

Permalink
Final touches for lookup by name.
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Jan 27, 2013
1 parent 649805d commit 8ae7622
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<object class="IBUIAccessibilityConfiguration" key="IBUIAccessibilityConfiguration">
<string key="IBUIAccessibilityLabel">SumLabel</string>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Total</string>
<string key="IBUIText">???</string>
<object class="NSColor" key="IBUITextColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAAA</bytes>
Expand All @@ -183,6 +186,7 @@
<string key="NSFrame">{{94, 208}, {113, 44}}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
Expand Down
2 changes: 1 addition & 1 deletion test/functional/testapp/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describeWd('calc app', function(h) {
};

it('should lookup two fields by name and populate them with random numbers to finally sum them up', function(done) {
h.driver.elementByName('Total', function(err, label) {
h.driver.elementByName('SumLabel', function(err, label) {
lookup(1, function() {
lookup(2, function() {
h.driver.elementByName('ComputeSumButton', function(err, computeBtn) {
Expand Down

0 comments on commit 8ae7622

Please sign in to comment.