File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
example/macos/AsyncStorageExample-macOSUITests Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ - (void)setUp
36
36
_restartButton = _window.otherElements [@" restart_button" ].staticTexts .firstMatch ;
37
37
[self waitForExpectation: exists evaluatedWithObject: _restartButton timeout: 5 ];
38
38
39
- _getSetClearButton = _window.buttons [@" testType_getSetClear " ].staticTexts .firstMatch ;
39
+ _getSetClearButton = _window.buttons [@" get-set-clear " ].staticTexts .firstMatch ;
40
40
[self waitForExpectation: exists evaluatedWithObject: _getSetClearButton timeout: 5 ];
41
41
42
- _mergeItemButton = _window.buttons [@" testType_mergeItem " ].staticTexts .firstMatch ;
42
+ _mergeItemButton = _window.buttons [@" merge-item " ].staticTexts .firstMatch ;
43
43
[self waitForExpectation: exists evaluatedWithObject: _mergeItemButton timeout: 5 ];
44
44
45
45
[self setDelegate ];
@@ -123,9 +123,7 @@ - (void)testMergeItemDelegate
123
123
XCUIElement *mergeItemButton = _window.buttons [@" mergeItem_button" ].staticTexts .firstMatch ;
124
124
XCUIElement *storyText = _window.staticTexts [@" storyTextView" ];
125
125
126
- NSString *story =
127
- [self performInputWithFormat:
128
- @" %@ from delegate is %@ from delegate, has %@ eyes and shoe size of %@ ." ];
126
+ NSString *story = [self performInputWithFormat: @" %@ is %@ , has %@ eyes and shoe size of %@ ." ];
129
127
[mergeItemButton click ];
130
128
[_restartButton click ];
131
129
[restoreItemButton click ];
You can’t perform that action at this time.
0 commit comments