diff --git a/tests/e2e/specs/hello.test.js b/tests/e2e/specs/hello.test.js
index aba42d59f3..038957883b 100644
a
|
b
|
import { visitAdminPage } from '@wordpress/e2e-test-utils'; |
3 | 3 | describe( 'Hello World', () => { |
4 | 4 | it( 'Should load properly', async () => { |
5 | 5 | await visitAdminPage( '/' ); |
6 | | const title = await page.$x( |
| 6 | const nodes = await page.$x( |
7 | 7 | '//h2[contains(text(), "Welcome to WordPress!")]' |
8 | 8 | ); |
9 | | expect( title ).not.toBeNull(); |
| 9 | expect( nodes.length ).not.toEqual( 0 ); |
10 | 10 | } ); |
11 | 11 | } ); |