Skip to content

Commit fcf0413

Browse files
committed
Merge branch 'trunk' into Jetpack-Focus-Show-or-hide-Automattic-Family-section-on-About-screen
2 parents fc8d8b6 + b12c5f2 commit fcf0413

42 files changed

Lines changed: 435 additions & 59 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

RELEASE-NOTES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
21.0
44
-----
55
* [***] Updated About screen for WordPress and Jetpack apps to their respective urls. [https://github.com/wordpress-mobile/WordPress-Android/pull/17282]
6+
* [*] Updates splash screen for Android 12+ [https://github.com/wordpress-mobile/WordPress-Android/pull/17273]
7+
* [*] Fix text color of success messages in the QR code login flow [https://github.com/wordpress-mobile/WordPress-Android/pull/17286]
68

79
20.9
810
-----

WordPress/src/androidTest/java/org/wordpress/android/e2e/BlockEditorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void setUp() {
3939
+ "<!-- /wp:image --></div>\n";
4040

4141
@Test
42-
public void publishSimplePost() {
42+
public void e2ePublishSimplePost() {
4343
String title = "publishSimplePost";
4444

4545
new MySitesPage()
@@ -55,7 +55,7 @@ public void publishSimplePost() {
5555
}
5656

5757
@Test
58-
public void publishFullPost() {
58+
public void e2ePublishFullPost() {
5959
String title = "publishFullPost";
6060

6161
new MySitesPage()
@@ -75,7 +75,7 @@ public void publishFullPost() {
7575
}
7676

7777
@Test
78-
public void blockEditorCanDisplayElementAddedInHtmlMode() {
78+
public void e2eBlockEditorCanDisplayElementAddedInHtmlMode() {
7979
String title = "blockEditorCanDisplayElementAddedInHtmlMode";
8080

8181
new MySitesPage()

WordPress/src/androidTest/java/org/wordpress/android/e2e/ContactUsTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void setUp() {
2020

2121
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
2222
@Test
23-
public void sendButtonEnabledWhenTextIsEntered() {
23+
public void e2eSendButtonEnabledWhenTextIsEntered() {
2424
try {
2525
new LoginFlow()
2626
.chooseContinueWithWpCom()
@@ -40,7 +40,7 @@ public void sendButtonEnabledWhenTextIsEntered() {
4040

4141
@Ignore("As long as CI does not use gradle.properties from MobileSecrets")
4242
@Test
43-
public void messageCanBeSent() {
43+
public void e2eMessageCanBeSent() {
4444
String userMessageText = "Please ignore, this is an automated test.";
4545
String automatedReplyText = "Mobile support will respond as soon as possible, "
4646
+ "generally within 48-96 hours. "
@@ -62,15 +62,15 @@ public void messageCanBeSent() {
6262
}
6363

6464
@Test
65-
public void helpCanBeOpenedWhileEnteringEmail() {
65+
public void e2eHelpCanBeOpenedWhileEnteringEmail() {
6666
new LoginFlow()
6767
.chooseContinueWithWpCom()
6868
.tapHelp()
6969
.assertHelpAndSupportScreenLoaded();
7070
}
7171

7272
@Test
73-
public void helpCanBeOpenedWhileEnteringPassword() {
73+
public void e2eHelpCanBeOpenedWhileEnteringPassword() {
7474
new LoginFlow()
7575
.chooseContinueWithWpCom()
7676
.enterEmailAddress(E2E_WP_COM_USER_EMAIL)

WordPress/src/androidTest/java/org/wordpress/android/e2e/EditorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void setUp() {
5656
// For more info see Issue: https://github.com/wordpress-mobile/WordPress-Android/issues/14389
5757
@Ignore("Classic Editor being deprecated for new posts, test should be adjusted to editing existing classic post")
5858
@Test
59-
public void testPublishSimplePost() {
59+
public void e2ePublishSimplePostClassic() {
6060
String title = "Hello Espresso!";
6161
String content = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
6262

@@ -70,7 +70,7 @@ public void testPublishSimplePost() {
7070
// For more info see Issue: https://github.com/wordpress-mobile/WordPress-Android/issues/14389
7171
@Ignore("Classic Editor being deprecated for new posts, test should be adjusted to editing existing classic post")
7272
@Test
73-
public void testPublishFullPost() {
73+
public void e2ePublishFullPostClassic() {
7474
String title = "Hello Espresso!";
7575
String content = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "
7676
+ "tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud "

WordPress/src/androidTest/java/org/wordpress/android/e2e/LoginTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void setUp() {
2626

2727
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
2828
@Test
29-
public void loginWithEmailPassword() {
29+
public void e2eLoginWithEmailPassword() {
3030
new LoginFlow().chooseContinueWithWpCom()
3131
.enterEmailAddress(E2E_WP_COM_USER_EMAIL)
3232
.enterPassword(E2E_WP_COM_USER_PASSWORD)
@@ -35,15 +35,15 @@ public void loginWithEmailPassword() {
3535

3636
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
3737
@Test
38-
public void loginWithPasswordlessAccount() {
38+
public void e2eLoginWithPasswordlessAccount() {
3939
new LoginFlow().chooseContinueWithWpCom()
4040
.enterEmailAddress(E2E_WP_COM_PASSWORDLESS_USER_EMAIL)
4141
.openMagicLink()
4242
.confirmLogin(false);
4343
}
4444

4545
@Test
46-
public void loginWithSiteAddress() {
46+
public void e2eLoginWithSiteAddress() {
4747
new LoginFlow().chooseEnterYourSiteAddress()
4848
.enterSiteAddress(E2E_WP_COM_USER_SITE_ADDRESS)
4949
.enterEmailAddress(E2E_WP_COM_USER_EMAIL)
@@ -53,7 +53,7 @@ public void loginWithSiteAddress() {
5353

5454
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
5555
@Test
56-
public void loginWithMagicLink() {
56+
public void e2eLoginWithMagicLink() {
5757
new LoginFlow().chooseContinueWithWpCom()
5858
.enterEmailAddress(E2E_WP_COM_USER_EMAIL)
5959
.chooseMagicLink()
@@ -62,7 +62,7 @@ public void loginWithMagicLink() {
6262
}
6363

6464
@Test
65-
public void loginWithSelfHostedAccount() {
65+
public void e2eLoginWithSelfHostedAccount() {
6666
new LoginFlow().chooseEnterYourSiteAddress()
6767
.enterSiteAddress(E2E_SELF_HOSTED_USER_SITE_ADDRESS)
6868
.enterUsernameAndPassword(E2E_SELF_HOSTED_USER_USERNAME, E2E_SELF_HOSTED_USER_PASSWORD)

WordPress/src/androidTest/java/org/wordpress/android/e2e/ReaderTests.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
import androidx.test.rule.GrantPermissionRule;
66

77
import org.junit.Before;
8+
import org.junit.Ignore;
89
import org.junit.Rule;
10+
import org.junit.Test;
911
import org.wordpress.android.e2e.pages.ReaderPage;
1012
import org.wordpress.android.support.BaseTest;
1113

@@ -26,8 +28,9 @@ public void setUp() {
2628
String mCoachingPostTitle = "Let's check out the coaching team!";
2729
String mCompetitionPostTitle = "Let's focus on the competition.";
2830

29-
// @Test
30-
public void navigateThroughPosts() {
31+
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
32+
@Test
33+
public void e2eNavigateThroughPosts() {
3134
new ReaderPage()
3235
.tapFollowingTab()
3336
.openPost(mCoachingPostTitle)
@@ -39,8 +42,9 @@ public void navigateThroughPosts() {
3942
.goBackToReader();
4043
}
4144

42-
// @Test
43-
public void likePost() {
45+
@Ignore("Ignored temporarily. This sometimes fail on CI while running with whole test suite.")
46+
@Test
47+
public void e2eLikePost() {
4448
new ReaderPage()
4549
.tapFollowingTab()
4650
.openPost(mCoachingPostTitle)

WordPress/src/androidTest/java/org/wordpress/android/e2e/SignUpTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void tearDown() {
2626
}
2727

2828
@Test
29-
public void signUpWithMagicLink() {
29+
public void e2eSignUpWithMagicLink() {
3030
new SignupFlow().chooseContinueWithWpCom()
3131
.enterEmail(E2E_SIGNUP_EMAIL)
3232
.openMagicLink()

WordPress/src/androidTest/java/org/wordpress/android/e2e/StatsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void tearDown() {
3838
}
3939

4040
@Test
41-
public void allDayStatsLoad() {
41+
public void e2eAllDayStatsLoad() {
4242
StatsVisitsData todayVisits = new StatsVisitsData("97", "28", "14", "11");
4343
List<StatsKeyValueData> postsList = new StatsMocksReader().readDayTopPostsToList();
4444
List<StatsKeyValueData> referrersList = new StatsMocksReader().readDayTopReferrersToList();

WordPress/src/jetpack/AndroidManifest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<data
3838
android:host="notifications"
3939
android:scheme="jetpack" />
40+
<data
41+
android:host="home"
42+
android:scheme="jetpack" />
4043
</intent-filter>
4144
</activity>
4245

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="25dp"
3+
android:height="24dp"
4+
android:viewportHeight="24"
5+
android:viewportWidth="25">
6+
<path
7+
android:fillColor="#ffffff"
8+
android:pathData="M12.5,0L12.5,0A12,12 0,0 1,24.5 12L24.5,12A12,12 0,0 1,12.5 24L12.5,24A12,12 0,0 1,0.5 12L0.5,12A12,12 0,0 1,12.5 0z" />
9+
<path
10+
android:fillColor="#069E08"
11+
android:pathData="M12.5,0C5.889,0 0.5,5.374 0.5,12C0.5,18.626 5.874,24 12.5,24C19.126,24 24.5,18.626 24.5,12C24.5,5.374 19.126,0 12.5,0ZM11.882,13.988H5.904L11.882,2.356V13.988ZM13.104,21.615V9.983H19.067L13.104,21.615Z" />
12+
</vector>

0 commit comments

Comments
 (0)