diff --git a/source/backend/api/Pims.Api.csproj b/source/backend/api/Pims.Api.csproj index d394d8d55c..3808077b83 100644 --- a/source/backend/api/Pims.Api.csproj +++ b/source/backend/api/Pims.Api.csproj @@ -2,8 +2,8 @@ 0ef6255f-9ea0-49ec-8c65-c172304b4926 - 6.0.0-117.32 - 6.0.0.117 + 6.1.0-118.0 + 6.1.0.118 true {16BC0468-78F6-4C91-87DA-7403C919E646} net8.0 diff --git a/source/frontend/package-lock.json b/source/frontend/package-lock.json index 4f9e0d3103..1eff9e1fe5 100644 --- a/source/frontend/package-lock.json +++ b/source/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "frontend", - "version": "6.0.0-117.0", + "version": "6.1.0-118.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "frontend", - "version": "6.0.0-117.0", + "version": "6.1.0-118.0", "dependencies": { "@bcgov/bc-sans": "1.0.1", "@bcgov/design-tokens": "3.0.0-rc1", diff --git a/source/frontend/package.json b/source/frontend/package.json index 0375d283bf..2758565ce9 100644 --- a/source/frontend/package.json +++ b/source/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "6.0.0-117.32", + "version": "6.1.0-118.0", "private": true, "dependencies": { "@bcgov/bc-sans": "1.0.1", diff --git a/testing/playwright-testing/support/pages/SearchProperties.js b/testing/playwright-testing/support/pages/SearchProperties.js index 0ca453e5e3..977434e7bc 100644 --- a/testing/playwright-testing/support/pages/SearchProperties.js +++ b/testing/playwright-testing/support/pages/SearchProperties.js @@ -62,12 +62,12 @@ class SearchProperties { await this.page.getByTestId("geographic-name-input").fill(poiName); await expect( this.page.locator( - "div[data-placement='bottom-start'] ul[class='suggestionList']", - ), + "div[data-placement='bottom-start'] ul[class='suggestionList']" + ) ).toBeVisible(); await this.page .locator( - "div[data-placement='bottom-start'] ul[class='suggestionList'] li:first-child", + "div[data-placement='bottom-start'] ul[class='suggestionList'] li:first-child" ) .click(); await this.page.getByTestId("search").click(); @@ -146,7 +146,7 @@ class SearchProperties { .click(); const quickInfoCloseBttn = await this.page.locator( - "div[data-testid='quick-info-header'] *[data-testid='close-icon']", + "div[data-testid='quick-info-header'] *[data-testid='close-icon']" ); if (await quickInfoCloseBttn.isVisible()) { await quickInfoCloseBttn.click(); @@ -174,19 +174,19 @@ class SearchProperties { async selectNthPIMSSearchResult(index) { await this.page .locator( - `div[data-testid="pims-search-results-section"] div[data-testid="search-property-${index}"]`, + `div[data-testid="pims-search-results-section"] div[data-testid="search-property-${index}"]` ) .waitFor({ status: "visible" }); await this.page .locator( - `div[data-testid="pims-search-results-section"] div[data-testid="search-property-${index}"]`, + `div[data-testid="pims-search-results-section"] div[data-testid="search-property-${index}"]` ) .click(); } async closePropertyLeaflet() { const closeLeafketBttn = await this.page.locator( - "div[data-testid='leaflet-buttons-section'] *[data-testid='close-leaflet-button']", + "div[data-testid='leaflet-buttons-section'] *[data-testid='close-leaflet-button']" ); await closeLeafketBttn.waitFor({ status: "visible" }); await closeLeafketBttn.click(); @@ -194,7 +194,7 @@ class SearchProperties { async selectPinOnMap() { const pinOnMap = await this.page.locator( - "div[class='leaflet-pane leaflet-marker-pane'] img:first-child", + "div[class='leaflet-pane leaflet-marker-pane'] img:first-child" ); await pinOnMap.waitFor({ status: "visible" }); await pinOnMap.click({ force: true }); @@ -246,7 +246,7 @@ class SearchProperties { async addPropertyToWorklistFromQuickInfo() { await this.page .locator( - "div[data-testid='quick-info'] div[data-testid='filter-backdrop-loading']", + "div[data-testid='quick-info'] div[data-testid='filter-backdrop-loading']" ) .waitFor({ state: "hidden" }); await this.page @@ -257,19 +257,20 @@ class SearchProperties { .click(); await this.page .locator( - "div[aria-labelledBy='dropdown-ellipsis'] a[aria-label='Add to Working List']", + "div[aria-labelledBy='dropdown-ellipsis'] a[aria-label='Add to Working List']" ) .waitFor({ status: "visible" }); await this.page .locator( - "div[aria-labelledBy='dropdown-ellipsis'] a[aria-label='Add to Working List']", + "div[aria-labelledBy='dropdown-ellipsis'] a[aria-label='Add to Working List']" ) .click(); } async verifySearchControlForm() { - const searchPropertiesSidebar = - await this.page.getByTestId("search-sidebar"); + const searchPropertiesSidebar = await this.page.getByTestId( + "search-sidebar" + ); expect(searchPropertiesSidebar).toBeVisible(); const searchTitle = await this.page @@ -304,39 +305,39 @@ class SearchProperties { expect(resetButton).toBeVisible(); const PMBCResultsTitle = await this.page.locator( - "//div[text()='Results (PMBC)']", + "//div[text()='Results (PMBC)']" ); expect(PMBCResultsTitle).toBeVisible(); const PMBCResultsMoreOptions = await this.page.locator( - "button[aria-label='search pmbc results more options']", + "button[aria-label='search pmbc results more options']" ); expect(PMBCResultsMoreOptions).toBeVisible(); const PIMSResultsTitle = await this.page.locator( - "//div[text()='Results (PIMS)']", + "//div[text()='Results (PIMS)']" ); expect(PIMSResultsTitle).toBeVisible(); const PIMSResultsMoreOptions = await this.page.locator( - "button[aria-label='search pims results more options']", + "button[aria-label='search pims results more options']" ); expect(PIMSResultsMoreOptions).toBeVisible(); } async verifyPropertyQuickInfo() { const quickInfoLeaflet = await this.page.locator( - "div[data-testid='quick-info']", + "div[data-testid='quick-info']" ); expect(quickInfoLeaflet).toBeVisible({ timeout: 120000 }); const quickInfoViewIcon = await this.page.locator( - "div[data-testid='view-property-icon']", + "div[data-testid='view-property-icon']" ); expect(quickInfoViewIcon).toBeVisible({ timeout: 120000 }); const quickInfoMorOptions = await this.page.locator( - "button[data-testid='quick-info-more-options']", + "button[data-testid='quick-info-more-options']" ); expect(quickInfoMorOptions).toBeVisible({ timeout: 120000 }); @@ -349,29 +350,29 @@ class SearchProperties { expect(quickInfoZoom).toBeVisible({ timeout: 120000 }); const quickInfoMinimize = await this.page.getByTestId( - "*[data-testid='toggle-icon']", + "*[data-testid='toggle-icon']" ); expect(quickInfoMinimize).toBeVisible({ timeout: 120000 }); const quickInfoCloseIcon = await this.page.locator( - "*[data-testid='close-icon']", + "*[data-testid='close-icon']" ); expect(quickInfoCloseIcon).toBeVisible({ timeout: 120000 }); } async verifyMultiplePropertyPopup() { const popupTitle = await this.page.locator( - "//div[@class='leaflet-popup-content']/div/div[text()='Multiple properties found']", + "//div[@class='leaflet-popup-content']/div/div[text()='Multiple properties found']" ); expect(popupTitle).toBeVisible({ timeout: 12000 }); const closeButton = await this.page.locator( - "div[class='leaflet-popup-content'] button[title='close']", + "div[class='leaflet-popup-content'] button[title='close']" ); expect(closeButton).toBeVisible({ timeout: 12000 }); const commonPropertyDiv = await this.page.locator( - "//div[@class='leaflet-popup-content']/div/div/div/div[contains(text(),'Common Property')]", + "//div[@class='leaflet-popup-content']/div/div/div/div[contains(text(),'Common Property')]" ); expect(commonPropertyDiv).toBeVisible({ timeout: 12000 }); @@ -381,14 +382,14 @@ class SearchProperties { expect(parseInt(propertiesPID)).toBeGreaterThan(1); const addWorklistBttn = await this.page.locator( - "//div[@class='leaflet-popup-content']/div/button[2]", + "//div[@class='leaflet-popup-content']/div/button[2]" ); expect(addWorklistBttn).toBeVisible({ timeout: 12000 }); } async closeMultiplePropertyPopup() { const closeButton = await this.page.locator( - "div[class='leaflet-popup-content'] button[title='close']", + "div[class='leaflet-popup-content'] button[title='close']" ); await closeButton.click(); }