Files
explore/ui/pages/BlockCountdownIndex.pw.tsx
tom goriunovandGitHub a2eee9354a Block Countdown page (#2091)
* page placeholder

* block info snippet

* add actions for calendar buttons

* add timer

* add redirect when timer runs out

* add redirect from not found block page

* block countdown index page

* link to countdown index page

* add link to search suggest

* add URL to an event

* add link to block countdown on mobile

* tests

* add countdown text to search result page

* update margins

* show block countdown when search results are not empty
2024-07-18 08:56:28 +02:00

11 lines
292 B
TypeScript

import React from 'react';
import { test, expect } from 'playwright/lib';
import BlockCountdownIndex from './BlockCountdownIndex';
test('base view +@mobile', async({ render }) => {
const component = await render(<BlockCountdownIndex/>);
await expect(component).toHaveScreenshot();
});