Skip to content

Commit

Permalink
Fix distributed post tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Aug 23, 2024
1 parent 089548a commit da1b254
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cypress/e2e/distributed-post.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe( 'Distributed Post Tests', () => {
// Ensure the settings panel is open.
cy.get( 'button[aria-label="Settings"]' ).then( () => {
cy.openDocumentSettingsSidebar( 'Post' );
cy.openDocumentSettingsPanel( 'Distributor' );
cy.openDocumentSettingsPanel( 'Pulled Content' );
cy.get( '#distributed-to' ).should(
'contain.text',
'Distributed to 1 connection'
Expand All @@ -46,7 +46,7 @@ describe( 'Distributed Post Tests', () => {
$settings.trigger( 'click' );
}
cy.openDocumentSettingsSidebar( 'Post' );
cy.openDocumentSettingsPanel( 'Distributor' );
cy.openDocumentSettingsPanel( 'Pulled Content' );
cy.get( '#distributed-to' ).should(
'contain.text',
'Distributed to 2 connections'
Expand Down Expand Up @@ -91,7 +91,7 @@ describe( 'Distributed Post Tests', () => {
$settings.trigger( 'click' );
}
cy.openDocumentSettingsSidebar( 'Post' );
cy.openDocumentSettingsPanel( 'Distributor' );
cy.openDocumentSettingsPanel( 'Pulled Content' );
cy.get( '#distributed-from' ).should(
'contain.text',
'Distributed on'
Expand Down

0 comments on commit da1b254

Please sign in to comment.