FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix test checks for IOS · NativeScript/NativeScript@9719a53 · GitHub

Commit 9719a53

Browse files
Alexander Vakrilov
authored
test: fix test checks for IOS
1 parent e3ea51f commit 9719a53

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/app/ui/button/button-tests.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,10 @@ export function test_Native_Background_Color_BorderRadius_Change() {
412412
let page = <pagesModule.Page>views[1];
413413
page.css = ".border { background-color: #00FF00; border-radius: 1; } .colorfilter { background-color: #FF0000; }";
414414
view.className = "border";
415+
helper.waitUntilLayoutReady(view);
415416
TKUnit.assertEqual(buttonTestsNative.getNativeBackgroundColor(view).hex, "#00FF00");
416417
view.className = "colorfilter";
418+
helper.waitUntilLayoutReady(view);
417419
TKUnit.assertEqual(buttonTestsNative.getNativeBackgroundColor(view).hex, "#FF0000");
418420
});
419421
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL