-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' of github.com:wordpress-mobile/WordPress-Android…
… into deps/update-square-okio-to-3.3.0
- Loading branch information
Showing
609 changed files
with
25,300 additions
and
7,539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
Hot news—Jetpack now supports Blaze, so you can reach new readers by promoting a post or page from within the app. | ||
We also added a post-migration FAQ card to the Help screen, which you’ll see after switching from the WordPress app over to Jetpack. | ||
- Added warning message for when push notifications are turned off | ||
- Updated media access permissions to align with Android 13 update | ||
- Added card to dashboard for purchasing custom domains | ||
- Added other users’ responses to blogging prompts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +0,0 @@ | ||
Hot news—Jetpack now supports Blaze, so you can reach new readers by promoting a post or page from within the app. | ||
We also added a post-migration FAQ card to the Help screen, which you’ll see after switching from the WordPress app over to Jetpack. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
Good words are read | ||
The WordPress logo is blue | ||
There are no new updates | ||
Sorry to disappoint you | ||
- We added a yellow warning box telling you when notifications and blogging reminders are no longer being sent to your device as push notifications. | ||
- We updated media access permissions for photos, videos, and audio to align with the Android 13 update. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
It is a truth universally acknowledged, that a content creator in possession of a good app, must be in want of an update. | ||
|
||
…and we’re still working on it. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 23 additions & 13 deletions
36
WordPress/src/androidTest/java/org/wordpress/android/e2e/ReaderTests.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,60 @@ | ||
package org.wordpress.android.e2e | ||
|
||
import android.Manifest.permission | ||
import androidx.test.rule.GrantPermissionRule | ||
import dagger.hilt.android.testing.HiltAndroidTest | ||
import org.junit.Before | ||
import org.junit.Rule | ||
import org.junit.Test | ||
import org.wordpress.android.e2e.pages.ReaderPage | ||
import org.wordpress.android.support.BaseTest | ||
|
||
@HiltAndroidTest | ||
class ReaderTests : BaseTest() { | ||
@JvmField @Rule | ||
var mRuntimeImageAccessRule = GrantPermissionRule.grant(permission.WRITE_EXTERNAL_STORAGE) | ||
|
||
@Before | ||
fun setUp() { | ||
logoutIfNecessary() | ||
wpLogin() | ||
ReaderPage().go() | ||
} | ||
|
||
var mCoachingPostTitle = "Let's check out the coaching team!" | ||
var mCompetitionPostTitle = "Let's focus on the competition." | ||
@Test | ||
fun e2eNavigateThroughPosts() { | ||
ReaderPage() | ||
.tapFollowingTab() | ||
.openPost(mCoachingPostTitle) | ||
.verifyPostDisplayed(mCoachingPostTitle) | ||
.openBlogOrPost(TITLE_COACHING_POST) | ||
.verifyPostDisplayed(TITLE_COACHING_POST) | ||
.slideToPreviousPost() | ||
.verifyPostDisplayed(mCompetitionPostTitle) | ||
.verifyPostDisplayed(TITLE_COMPETITION_POST) | ||
.slideToNextPost() | ||
.verifyPostDisplayed(mCoachingPostTitle) | ||
.verifyPostDisplayed(TITLE_COACHING_POST) | ||
.goBackToReader() | ||
} | ||
|
||
@Test | ||
fun e2eLikePost() { | ||
ReaderPage() | ||
.tapFollowingTab() | ||
.openPost(mCoachingPostTitle) | ||
.openBlogOrPost(TITLE_COACHING_POST) | ||
.likePost() | ||
.verifyPostLiked() | ||
.unlikePost() | ||
.verifyPostNotLiked() | ||
.goBackToReader() | ||
} | ||
|
||
@Test | ||
fun e2eBookmarkPost() { | ||
ReaderPage() | ||
.tapFollowingTab() | ||
.openBlogOrPost(TITLE_LONGREADS_BLOG) | ||
.bookmarkPost() | ||
.verifyPostBookmarked() | ||
.removeBookmarkPost() | ||
.verifyPostNotBookmarked() | ||
.goBackToReader() | ||
} | ||
|
||
companion object { | ||
private const val TITLE_LONGREADS_BLOG = "Longreads" | ||
private const val TITLE_COACHING_POST = "Let's check out the coaching team!" | ||
private const val TITLE_COMPETITION_POST = "Let's focus on the competition." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.