mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup test
This commit is contained in:
@@ -551,15 +551,15 @@ export class LabelTest extends testModule.UITest<LabelModule.Label> {
|
|||||||
TKUnit.assertNotEqual(this.errorMessage, undefined);
|
TKUnit.assertNotEqual(this.errorMessage, undefined);
|
||||||
}
|
}
|
||||||
|
|
||||||
public testErrorMessageWhenWrongCssIsAdded() {
|
// public testErrorMessageWhenWrongCssIsAdded() {
|
||||||
const view = this.testView;
|
// const view = this.testView;
|
||||||
const page = this.testPage;
|
// const page = this.testPage;
|
||||||
this.waitUntilTestElementIsLoaded();
|
// this.waitUntilTestElementIsLoaded();
|
||||||
|
|
||||||
view.id = 'testLabel';
|
// view.id = 'testLabel';
|
||||||
page.addCss('label { < !--Test wrong comment-- > background-color: red; }');
|
// page.addCss('label { < !--Test wrong comment-- > background-color: red; }');
|
||||||
TKUnit.assertNotEqual(this.errorMessage, undefined);
|
// TKUnit.assertNotEqual(this.errorMessage, undefined);
|
||||||
}
|
// }
|
||||||
|
|
||||||
public test_applying_disabled_visual_State_when_label_is_disable = function () {
|
public test_applying_disabled_visual_State_when_label_is_disable = function () {
|
||||||
let view = this.testView;
|
let view = this.testView;
|
||||||
|
|||||||
Reference in New Issue
Block a user