Skip to content

Commit

Permalink
Change selector to match updated classes
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Jul 27, 2020
1 parent e489ece commit 6bad94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/lib/gutenberg/gutenberg-editor-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,11 @@ export default class GutenbergEditorComponent extends AsyncBaseContainer {
await driverHelper.waitTillNotPresent( this.driver, this.publishingSpinnerSelector );
await driverHelper.waitTillPresentAndDisplayed(
this.driver,
By.css( '.editor-post-publish-panel__header-published' )
By.css( '.post-publish-panel__postpublish-header' )
);
return await driverHelper.verifyTextPresent(
this.driver,
By.css( '.editor-post-publish-panel__header-published' ),
By.css( '.post-publish-panel__postpublish-header' ),
'Scheduled'
);
}
Expand Down

0 comments on commit 6bad94a

Please sign in to comment.