[bitnami/ghost] cypress: Remove 'wait for save' during post creation test #12609
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Miguel Ruiz miruiz@vmware.com
Description of the change
The changes introduced in #12478 are not enough for the tests to pass consistently.
Although the tests passed in the PR, during most executions the tests are failing because the Ghost post creation fails to wait for the 'Draft - Saved' status twice.
The timeout deadline is probably being exceeded because the post contains an image and the server size is not big enough to complete the test in under 60seconds.
For reference, the 'create-page' test takes about 27 seconds and does not include an image.
Unlike the 'create-page' test, the 'create-post' test won't fail if a wait for 'Draft saved' status is not performed, therefore this PR removes them.
I initially added the wait to be consistent with the 'create-post'.
Benefits
Ghost tests should pass consistently.
Possible drawbacks
Differences between 'create-post' and 'create-page' tests.
Applicable issues
Checklist