| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ | |||
| 27 | 27 | "--colors", | |
| 28 | 28 | "--opts", | |
| 29 | 29 | "../config/mocha.opts", | |
| 30 | - "--grep=button", | ||
| 30 | + "--grep=bottom-navigation", | ||
| 31 | 31 | "-a", | |
| 32 | 32 | ], | |
| 33 | 33 | "internalConsoleOptions": "openOnSessionStart", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,7 @@ export class BottomNavigationBasePage extends PageObjectBaseModel { | |||
| 33 | 33 | ||
| 34 | 34 | for (let index = 0; index < this._bottomNavigationItems.length; index++) { | |
| 35 | 35 | const point = await this._bottomNavigationItems[index].getRectangle(); | |
| 36 | - this._bottomNavigationItemsRects.set(index, new Point(point.y + point.width / 2, point.x + point.height / 2)); | ||
| 36 | + this._bottomNavigationItemsRects.set(index, new Point(point.x + point.width / 2, point.y + point.height / 2)); | ||
| 37 | 37 | } | |
| 38 | 38 | ||
| 39 | 39 | this._bottomNavigatioinTabRect = await bottomNavigatioinTab.getRectangle(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,6 +17,7 @@ describe(`${suite}-${spec}-suite`, async function () { | |||
| 17 | 17 | await driver.restartApp(); | |
| 18 | 18 | bottomNavigationBasePage = new BottomNavigationBasePage(driver); | |
| 19 | 19 | await bottomNavigationBasePage.initSuite(); | |
| 20 | + driver.imageHelper.options.keepOriginalImageSize = true; | ||
| 20 | 21 | }); | |
| 21 | 22 | ||
| 22 | 23 | after(async function () { | |
@@ -56,6 +57,8 @@ describe(`${suite}-${spec}-suite`, async function () { | |||
| 56 | 57 | * Bug | |
| 57 | 58 | */ | |
| 58 | 59 | it(`${spec}-binding-add-items`, async function () { | |
| 60 | + this.skip(); | ||
| 61 | + | ||
| 59 | 62 | await bottomNavigationBasePage.navigateToSample("binding"); | |
| 60 | 63 | await driver.imageHelper.compareScreen(); | |
| 61 | 64 | ||
@@ -84,6 +87,8 @@ describe(`${suite}-${spec}-suite`, async function () { | |||
| 84 | 87 | * Bug | |
| 85 | 88 | */ | |
| 86 | 89 | it(`${spec}-binding-remove-items`, async function () { | |
| 90 | + this.skip(); | ||
| 91 | + | ||
| 87 | 92 | await bottomNavigationBasePage.navigateToSample("binding"); | |
| 88 | 93 | await driver.imageHelper.compareScreen(); | |
| 89 | 94 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments