mirror of
https://github.com/appium/appium.git
synced 2026-02-11 12:29:48 -06:00
Merge pull request #3200 from rgonalo/master
Add a unit test to check focused activity in API10
This commit is contained in:
@@ -39,6 +39,13 @@ describe('adb', function () {
|
||||
return deferred.promise;
|
||||
}
|
||||
|
||||
it('should match api 10 line', function (done) {
|
||||
testLine(
|
||||
"mFocusedApp=AppWindowToken{4073e120 token=HistoryRecord{4073db90 io.appium.android.apis/.ApiDemos}}",
|
||||
'io.appium.android.apis',
|
||||
'.ApiDemos'
|
||||
).nodeify(done);
|
||||
});
|
||||
it('should match api 16 line', function (done) {
|
||||
testLine(
|
||||
"mFocusedApp=AppWindowToken{417ee228 token=Token{41602f78 ActivityRecord{41798a08 io.appium.android.apis/.ApiDemos}}}",
|
||||
|
||||
Reference in New Issue
Block a user