Skip to content

E2E : QA fix failing 'can save and publish empty content' acceptance test#21034

Closed
andr317c wants to merge 1 commit intorelease/17.0from
17/QA/fix-failing-acceptance-test
Closed

E2E : QA fix failing 'can save and publish empty content' acceptance test#21034
andr317c wants to merge 1 commit intorelease/17.0from
17/QA/fix-failing-acceptance-test

Conversation

@andr317c
Copy link
Contributor

@andr317c andr317c commented Dec 2, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 2, 2025 17:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a failing acceptance test by correcting an inappropriate assertion method. The test "can save and publish empty content" was using waitForContentToBeCreated() (intended for save operations) when it should have been using doesSuccessNotificationHaveText() (intended for publish operations), since it calls clickSaveAndPublishButton().

  • Changed assertion from waitForContentToBeCreated() to doesSuccessNotificationHaveText(NotificationConstantHelper.success.published) for the publish operation
  • Aligns the test with the established pattern used consistently throughout the acceptance test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants