Update label-tests.ts

This commit is contained in:
Vasil Chimev
2016-09-28 16:45:49 +03:00
committed by GitHub
parent 8d205585a6
commit ee382e238a

View File

@ -73,7 +73,7 @@ export class LabelTest extends testModule.UITest<LabelModule.Label> {
}
else {
this.waitUntilTestElementIsLoaded();
actualNative = testLabel.android.getText();
actualNative = testLabel.android.getText().toString();
}
TKUnit.assertEqual(actualNative, expectedValue, "Native text not equal");
@ -90,7 +90,7 @@ export class LabelTest extends testModule.UITest<LabelModule.Label> {
}
else {
this.waitUntilTestElementIsLoaded();
actualNative = testLabel.android.getText();
actualNative = testLabel.android.getText().toString();
}
TKUnit.assertEqual(actualNative, expectedValue, "Native text not equal");
@ -107,7 +107,7 @@ export class LabelTest extends testModule.UITest<LabelModule.Label> {
}
else {
this.waitUntilTestElementIsLoaded();
actualNative = testLabel.android.getText();
actualNative = testLabel.android.getText().toString();
}
TKUnit.assertEqual(actualNative, expectedValue, "Native text not equal");
@ -665,4 +665,4 @@ export function test_IntegrationTest_Transform_Decoration_Spacing_WithFormattedT
TKUnit.assertEqual(view.style.textDecoration, enums.TextDecoration.underline, "TextDecoration");
TKUnit.assertEqual(view.style.letterSpacing, 1, "LetterSpacing");
});
}
}