Skip to content

Commit 9c8a2f7

Browse files
authored
Merge pull request #1131 from google/fix/1130-e2e-tests
Fix Plugin activation E2E test failures.
2 parents c872b3b + 03f8c2e commit 9c8a2f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/specs/plugin-activation.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe( 'Plugin Activation Notice', () => {
4747
it( 'Should be displayed', async () => {
4848
await activateSiteKit();
4949

50-
await page.waitForSelector( '.googlesitekit-activation' );
50+
await page.waitForSelector( '.googlesitekit-activation__title' );
5151

5252
await expect( page ).toMatchElement( 'h3.googlesitekit-activation__title', { text: 'Congratulations, the Site Kit plugin is now activated.' } );
5353

@@ -57,7 +57,7 @@ describe( 'Plugin Activation Notice', () => {
5757
it( 'Should lead you to the setup wizard', async () => {
5858
await activateSiteKit();
5959

60-
await page.waitForSelector( '.googlesitekit-activation' );
60+
await page.waitForSelector( '.googlesitekit-start-setup' );
6161

6262
await expect( page ).toMatchElement( '.googlesitekit-start-setup', { text: 'Start setup' } );
6363

0 commit comments

Comments
 (0)