42a8715471
- Adds a local environment based on docker - Adds the e2e tests setup - Adds a "Hello World" e2e test to serve as a template Props gziolo, herregroen, mcsf. Fixes #45165. git-svn-id: https://develop.svn.wordpress.org/trunk@45570 602fd350-edb4-49c9-b593-d223f7449a82
12 lines
302 B
JavaScript
12 lines
302 B
JavaScript
import { visitAdminPage } from '@wordpress/e2e-test-utils';
|
|
|
|
describe( 'Hello World', () => {
|
|
it( 'Should load properly', async () => {
|
|
await visitAdminPage( '/' );
|
|
const title = await page.$x(
|
|
'//h2[contains(text(), "Welcome to WordPress!")]'
|
|
);
|
|
expect( title ).not.toBeNull();
|
|
} );
|
|
} );
|