Skip to content

Commit

Permalink
Merge pull request #5052 from nasa-gibs/release
Browse files Browse the repository at this point in the history
Release into main
  • Loading branch information
Tomcariello authored Mar 19, 2024
2 parents 1acaff0 + 1c2db0b commit 720943f
Show file tree
Hide file tree
Showing 12 changed files with 734 additions and 546 deletions.
3 changes: 2 additions & 1 deletion config/default/common/brand/about/license.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<hr>
<p>@BUILD_TIMESTAMP@<br> Responsible NASA Official: <a href="mailto:[email protected]">Ryan
Boller</a><br>
<a href="https://www.nasa.gov/privacy/#privacy-policy" target="_blank">Web Privacy Policy</a></p>
<a href="https://www.nasa.gov/privacy/#privacy-policy" target="_blank">Web Privacy Policy</a>
<br><a href="https://www.nasa.gov/accessibility/" target="_blank">Accessibility</a></p>
50 changes: 50 additions & 0 deletions e2e/features/classification/classification-test.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
// // @ts-check
// const { test, expect } = require('@playwright/test')
// let page

// const floodOnlyGrayUrl = 'http://localhost:3000/?v=-141,-32,21,66&df=true&l=MODIS_Combined_Flood_2-Day(disabled=3-0)&lg=true&t=2023-12-07-T18%3A49%3A23Z'
// const floodGrayAndBlueUrl = 'http://localhost:3000/?v=-139,-44,23,54&df=true&l=MODIS_Combined_Flood_2-Day(disabled=3-1)&lg=true&t=2023-12-07-T18%3A49%3A23Z'
// const floodAllColorsUrl = 'http://localhost:3000/?v=40,22,53,33&df=true&l=MODIS_Combined_Flood_2-Day&lg=true&t=2023-01-07-T18%3A49%3A23Z'

// test.describe.configure({ mode: 'serial' })

// test.beforeEach(async ({ browser }) => {
// page = await browser.newPage()
// })

// test.afterEach(async () => {
// await page.close()
// })

// test('Flood 2 Day only Gray', async () => {
// await page.goto(floodOnlyGrayUrl)
// await page.waitForLoadState('load')
// await page.waitForTimeout(5000)

// await expect(page).toHaveScreenshot('only-gray.png', {
// fullPage: true,
// threshold: 0.2
// })
// })

// test('Flood 2 Day Gray & Blue', async () => {
// await page.goto(floodGrayAndBlueUrl)
// await page.waitForLoadState('load')
// await page.waitForTimeout(5000)

// await expect(page).toHaveScreenshot('gray-and-blue.png', {
// fullPage: true,
// threshold: 0.2
// })
// })

// test('Flood 2 Day All Colors', async () => {
// await page.goto(floodAllColorsUrl)
// await page.waitForLoadState('load')
// await page.waitForTimeout(5000)

// await expect(page).toHaveScreenshot('all-colors.png', {
// fullPage: true,
// threshold: 0.2
// })
// })
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions e2e/features/layers/layers-vector-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test('Vectors show alert when not clickable', async ({ browserName }) => {
const pointerIcon = await page.locator('#active-GRanD_Dams .fa-hand-pointer')
await expect(pointerIcon).toBeVisible()
await geographicMap.click()
await page.waitForTimeout(500)
await geographicMap.click()
await expect(notifyMessage).toBeVisible()
await expect(notifyMessage).toContainText('Vector features may not be clickable at all zoom levels.')
Expand Down
Loading

0 comments on commit 720943f

Please sign in to comment.