Skip to content

Commit

Permalink
Merge pull request #5360 from nasa-gibs/UAT-v4.44.0
Browse files Browse the repository at this point in the history
UAT-v4.44.0 to Release
  • Loading branch information
christof-wittreich committed Jul 22, 2024
2 parents bb37581 + 36396a5 commit d8d60ef
Show file tree
Hide file tree
Showing 13 changed files with 424 additions and 396 deletions.
4 changes: 2 additions & 2 deletions config/default/common/brand/about/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
mapping library, GIBS imagery can also be accessed from Google Earth, NASA World Wind, and several other
clients. We encourage interested developers to build their own clients or integrate NASA imagery into their
existing ones using these services.</p>
<p><a href="https://earthdata.nasa.gov/faq/worldview-gibs-faq" target="_blank" rel="noopener noreferrer">Frequently
Asked Questions</a></p>
<p>View the <a href="https://earthdata.nasa.gov/faq/worldview-gibs-faq" target="_blank" rel="noopener noreferrer">Frequently
Asked Questions</a> and visit the <a href="https://earthdata.nasa.gov/worldview/worldview-image-archive" target="_blank" rel="noopener noreferrer">Worldview Image of the Week</a> archive which uses data and imagery available in Worldview to highlight recent events, hazards, and disasters.</p>
<hr>
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
},
{
"target": "#wv-share-button",
"content": "Create a custom URL link of your Worldview page and share Worldview via social media with friends and colleagues!",
"content": "Create a custom URL link of your Worldview map view, access information about embedding Worldview, learn how to use imagery directly from GIBS, and remember to cite us!",
"placementBeacon": "bottom"
},
{
Expand Down
20 changes: 3 additions & 17 deletions e2e/features/share/share-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ test('Clicking the share link button opens the share dialog', async () => {
await expect(shareToolbar).toBeVisible()
})

test('Share tabs link and social are visible and enabled', async () => {
test('Share tabs link and cite us are visible and enabled', async () => {
const linkShareNav = await page.locator('.link-share-nav')
const socialShareNav = await page.locator('.social-share-nav')
const citeUsShareNav = await page.locator('.cite-us-share-nav')
const linkShareActive = await page.locator('.link-share-nav a')
await expect(linkShareNav).toBeVisible()
await expect(socialShareNav).toBeVisible()
await expect(citeUsShareNav).toBeVisible()
await expect(linkShareActive).toHaveClass(/active/)
})

Expand Down Expand Up @@ -72,20 +72,6 @@ test('Share link clipboard with no time query string param in the page url will
expect(shareLinkValue).toContain(`t=${year}-${monthText}-${dayText}`)
})

test('Clicking the social tab displays social share buttons', async () => {
const { shareToolbarButton } = selectors
const facebook = await page.locator('#fb-share')
const twitter = await page.locator('#tw-share')
const reddit = await page.locator('#rd-share')
const email = await page.locator('#email-share')
await shareToolbarButton.click()
await page.locator('.social-share-nav a').click()
await expect(facebook).toBeVisible()
await expect(twitter).toBeVisible()
await expect(reddit).toBeVisible()
await expect(email).toBeVisible()
})

test('Clicking Shorten link works with links less than 2049 characters', async () => {
const { shareToolbarButton } = selectors
const shortQueryString = 'http://localhost:3000/?l=Reference_Labels_15m,Reference_Features_15m,Coastlines_15m,VIIRS_NOAA20_CorrectedReflectance_TrueColor(hidden),VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor&lg=true&t=2022-08-10-T15%3A15%3A05Z'
Expand Down
Loading

0 comments on commit d8d60ef

Please sign in to comment.