Changeset 45575
- Timestamp:
- 06/28/2019 11:33:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/e2e/specs/hello.test.js
r45570 r45575 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 } );
Note: See TracChangeset
for help on using the changeset viewer.