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

release: cut the 8.20.3 release by tbozhikov · Pull Request #2071 · NativeScript/nativescript-angular · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .json  (2) .md  (1) .png  (4) .ts  (26) All 4 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
10 changes: 9 additions & 1 deletion CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<a name="8.20.3"></a>
## [8.20.3](https://github.com/NativeScript/nativescript-angular/compare/8.20.2...8.20.3) (2019-11-13)


### Bug Fixes

* add exports for backwards compatibility ([fbd46c1](https://github.com/NativeScript/nativescript-angular/commit/fbd46c1))

<a name="8.20.2"></a>
## [8.20.2](https://github.com/NativeScript/nativescript-angular/compare/8.20.0...8.20.2) (2019-11-12)
## [8.20.2](https://github.com/NativeScript/nativescript-angular/compare/8.20.1...8.20.2) (2019-11-12)


### Bug Fixes
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
11 changes: 7 additions & 4 deletions e2e/animation-examples/e2e/smoke.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { AnimationsWithDefaultOptionsPage } from "./pages/animations-with-defaul
import { AnimateChildPage } from "./pages/animate-child-page";
import { HeroPage } from "./pages/hero-page";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -21,6 +22,8 @@ describe("smoke-tests", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
});

after(async function () {
Expand Down Expand Up @@ -145,16 +148,16 @@ describe("smoke-tests", async function () {
const heroPage = new HeroPage(driver);
await heroPage.enterExample();
await heroPage.addActive();
let result = await driver.compareScreen("add_active_items", 5, 0.01);
let result = await driver.compareScreen("add_active_items", 5);

await heroPage.addInactive();
result = await driver.compareScreen("add_inactive_items", 5, 0.01) && result;
result = await driver.compareScreen("add_inactive_items", 5) && result;

await heroPage.remove();
result = await driver.compareScreen("add_remove_items", 5, 0.01) && result;
result = await driver.compareScreen("add_remove_items", 5) && result;

await heroPage.reset();
result = await driver.compareScreen("add_reset_items", 5, 0.01) && result;
result = await driver.compareScreen("add_reset_items", 5) && result;

assert.isTrue(result, "Image verification failed!");

Expand Down
3 changes: 3 additions & 0 deletions e2e/modal-navigation-ng/e2e/modal-frame.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
testDialogBackground
} from "./screens/shared-screen";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -23,6 +24,8 @@ describe("modal-frame:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
testDialogBackground,
} from "./screens/shared-screen";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -18,6 +19,8 @@ describe("modal-layout:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
navigateToSecondComponent
} from "./screens/shared-screen";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const roots = [
"setTabRootViewModal",
Expand All @@ -24,6 +25,8 @@ describe("modal-on-init:", async function () {
nsCapabilities.testReporter.context = this;

driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AppiumDriver, createDriver, nsCapabilities } from "nativescript-dev-app
import { Screen } from "./screens/screen";
import { assertComponent, goBack, navigateToSecondComponent } from "./screens/shared-screen";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const homeComponent = "Home Component";
const roots = ["setFrameRootView", "setTabRootView"];
Expand All @@ -16,6 +17,8 @@ describe("modal-shared:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
testTeamNavigated
} from "./shared.e2e-spec";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -17,6 +18,8 @@ describe("custom-tabs:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
testPlayerNextNavigated
} from "./shared.e2e-spec";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -20,6 +21,8 @@ describe("home-tabs:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
canGoBack
} from "./shared.e2e-spec";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -23,6 +24,8 @@ describe("split-view:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
3 changes: 3 additions & 0 deletions e2e/nested-router-tab-view/e2e/tab-view.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
testTeamNextNavigated,
} from "./shared.e2e-spec";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -19,6 +20,8 @@ describe("tab-view:", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
screen = new Screen(driver);
});

Expand Down
3 changes: 3 additions & 0 deletions e2e/renderer/e2e/action-bar.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const isSauceRun = isSauceLab;

import { isOnTheLeft } from "./helpers/location";
import { assert } from "chai";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

describe("Action Bar scenario", async function () {
let driver: AppiumDriver;
Expand All @@ -20,6 +21,8 @@ describe("Action Bar scenario", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
await driver.driver.resetApp();
});

Expand Down
3 changes: 3 additions & 0 deletions e2e/renderer/e2e/ngfor.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {

import { isAbove } from "./helpers/location";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.
const isSauceRun = isSauceLab;
Expand All @@ -23,6 +24,8 @@ describe("ngFor scenario", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
await driver.driver.resetApp();
});

Expand Down
3 changes: 3 additions & 0 deletions e2e/renderer/e2e/ngforof.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {

import { isAbove } from "./helpers/location";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.

Expand All @@ -28,6 +29,8 @@ describe("ngForOf scenario", function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
await driver.driver.resetApp();
});

Expand Down
3 changes: 3 additions & 0 deletions e2e/renderer/e2e/ngif.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { isAbove } from "./helpers/location";

import { assert } from "chai";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.

Expand All @@ -22,6 +23,8 @@ describe("ngIf scenario", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
await driver.driver.resetApp();
});

Expand Down
2 changes: 2 additions & 0 deletions e2e/renderer/e2e/page-router-outlet.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ describe("page-router-outlet-scenario", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
await driver.driver.resetApp();
});

Expand Down
2 changes: 2 additions & 0 deletions e2e/renderer/e2e/tab-view.e2e-spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ describe("TabView-scenario", async function(){
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
await driver.driver.resetApp();
});

Expand Down
2 changes: 2 additions & 0 deletions e2e/routable-animations/e2e/tests.e2e.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ describe("sample scenario", function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
});

after(async function () {
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { AppiumDriver, createDriver, SearchOptions, nsCapabilities } from "nativescript-dev-appium";
import { assert } from "chai";
import { isSauceLab } from "nativescript-dev-appium/lib/parser";
import { ImageOptions } from "nativescript-dev-appium/lib/image-options";

const QUEUE_WAIT_TIME: number = 600000; // Sometimes SauceLabs threads are not available and the tests wait in a queue to start. Wait 10 min before timeout.

Expand All @@ -11,6 +12,8 @@ describe("TabView with page-router-outlet in each tab", async function () {
this.timeout(QUEUE_WAIT_TIME);
nsCapabilities.testReporter.context = this;
driver = await createDriver();
driver.imageHelper.defaultTolerance = 50;
driver.imageHelper.defaultToleranceType = ImageOptions.pixel;
});

after(async function () {
Expand Down
Loading

Back | FazBrowse Home | New Git URL