Skip to content

Commit

Permalink
embed new data is not that far , 151 days
Browse files Browse the repository at this point in the history
  • Loading branch information
mudhoney committed Jan 13, 2025
1 parent 3f8860b commit db1a207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Run Playwright tests
run: |
cd helioviewer.org
npx playwright test --shard=${{matrix.shardIndex}}/${{matrix.shardTotal}} tests/desktop/normal/image_layers/image_layers.spec.ts
npx playwright test --shard=${{matrix.shardIndex}}/${{matrix.shardTotal}} tests/desktop/multi/unmatched_image_warning.spec.ts
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
2 changes: 1 addition & 1 deletion tests/desktop/multi/unmatched_image_warning.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test("[Embed] Helioviewer shows a warning when the image displayed is at least 6
}) => {
await page.goto("?output=embed&date=2024-01-01T00:00:00Z");
// Expect the warning to appear with the expected text
await expect(page.getByText("The AIA 304 layer is 943 days")).toBeVisible();
await expect(page.getByText("The AIA 304 layer is 151 days")).toBeVisible();
// Load a date approximately 6 hours away
await page.goto("?output=embed&date=2021-06-01T06:10:00Z");
await expect(page.getByText("The AIA 304 layer is 6 hours")).toBeVisible();
Expand Down

0 comments on commit db1a207

Please sign in to comment.