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);
|
||||
}
|
||||
|
||||
public testErrorMessageWhenWrongCssIsAdded() {
|
||||
const view = this.testView;
|
||||
const page = this.testPage;
|
||||
this.waitUntilTestElementIsLoaded();
|
||||
// public testErrorMessageWhenWrongCssIsAdded() {
|
||||
// const view = this.testView;
|
||||
// const page = this.testPage;
|
||||
// this.waitUntilTestElementIsLoaded();
|
||||
|
||||
view.id = 'testLabel';
|
||||
page.addCss('label { < !--Test wrong comment-- > background-color: red; }');
|
||||
TKUnit.assertNotEqual(this.errorMessage, undefined);
|
||||
}
|
||||
// view.id = 'testLabel';
|
||||
// page.addCss('label { < !--Test wrong comment-- > background-color: red; }');
|
||||
// TKUnit.assertNotEqual(this.errorMessage, undefined);
|
||||
// }
|
||||
|
||||
public test_applying_disabled_visual_State_when_label_is_disable = function () {
|
||||
let view = this.testView;
|
||||
|
||||
Reference in New Issue
Block a user