File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ import { test , expect } from "@playwright/test" ;
2+
3+ test . describe ( "Bitcoin nodes distribution tests" , ( ) => {
4+ // Tests for checking miner details statistics table
5+
6+ test ( "BTC node distribution map parent component loads" , async ( { page } ) => {
7+ await page . goto ( "http://localhost:3000" ) ;
8+ await page . waitForSelector ( "data-testid=nodeDistributionMain" ) ;
9+ await expect (
10+ page . locator ( "data-testid=nodeDistributionMain" )
11+ ) . toBeVisible ( ) ;
12+ } ) ;
13+
14+ test ( "BTC SVG map loads" , async ( { page } ) => {
15+ await page . goto ( "http://localhost:3000" ) ;
16+ await page . waitForSelector ( "data-testid=nodeDistributionMap" ) ;
17+ await expect ( page . locator ( "data-testid=nodeDistributionMap" ) ) . toBeVisible ( ) ;
18+ } ) ;
19+ } ) ;
You can’t perform that action at this time.
0 commit comments