Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E tests for Comments Feature #2955

Merged
merged 6 commits into from
Sep 8, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge tests
  • Loading branch information
burhandodhy committed Sep 8, 2022
commit 27619fe4428cc4fd8b84c7ed872aa6b6681f79e0
7 changes: 1 addition & 6 deletions tests/cypress/integration/features/comments.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Comments Feature', () => {
cy.wpCli('elasticpress list-features').its('stdout').should('contain', 'comments');
});

it('Can not sync anonymous comments', () => {
it('Can not sync anonymous comments until it is approved manually', () => {
cy.login();
cy.maybeEnableFeature('comments');

Expand Down Expand Up @@ -67,11 +67,6 @@ describe('Comments Feature', () => {
timeout: Cypress.config('elasticPressIndexTimeout'),
})
.should('contain.text', `Number of comments indexed: ${defaultApprovedComments}`);
});

it('Can sync comments if approved manually', () => {
cy.login();
cy.maybeEnableFeature('comments');

cy.visitAdminPage('edit-comments.php');

Expand Down