wordpress-mobile / wordpress-mobile/WordPress-Android

Classic Editor tests disabled until we update to edit existing classic post

Open
#14,389 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Task Aztec Testing
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Summary

The Classic (Aztec) editor is being deprecated for creating new posts in WPAndroid. See simple sites classic editor deprecation for new posts PR here: https://github.com/wordpress-mobile/WordPress-Android/pull/14381. Atomic, and self-hosted blogs are planned to happen afterwards.

Since users will still be able to edit existing posts, existing classic editor tests should be updated to edit an existing classic post, instead of creating a new one.

While this work is pending, classic editor tests are disabled.

Update: We decided in p9ugOq-20E-p2#comment-4395 to re-enable the classic tests to help prevent any future classic editor regressions. We'll only re-enable the simplest test, testPublishSimplePost, since we only want a minimal test in place.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing classic editor tests in WordPress/src/androidTest/java/org/wordpress/android/e2e/EditorTests.java, especially testPublishSimplePost and the linked test section. Update the simplest test to edit an existing classic post rather than create a new one, then re-enable it and confirm the test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile, testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.