Skip to content

Commit 88dbb46

Browse files
authored
UI Maintenance, May 2024 (#2099)
Various adjustments to MSAL-only and MSAL/Broker Tests. Some tests were removed to be ran manually as part of release, some tests were adjusted, and some test files were removed corresponding to tests that have been migrated to integration testing. Changes in common were taken in to fix some broker automation. Common: AzureAD/microsoft-authentication-library-common-for-android#2406
1 parent 953efc0 commit 88dbb46

10 files changed

Lines changed: 30 additions & 453 deletions

File tree

common

Submodule common updated 45 files

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/brokerapi/TestCase1561136.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
@SupportedBrokers(brokers = BrokerHost.class)
5353
@RetryOnFailure(retryCount = 2)
5454
@LocalBrokerHostDebugUiTest
55-
@Ignore("Seeing an error related to encryption at the 'getAccounts()' steps")
5655
public class TestCase1561136 extends AbstractMsalBrokerTest {
5756

5857
@Test

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/flw/TestCase833514.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ public void test_833514() throws MsalException, InterruptedException, LabApiExce
124124
.sessionExpected(false)
125125
.build();
126126

127+
// Give the sample a bit of time to replicate being in shared device mode
128+
Thread.sleep(TimeUnit.SECONDS.toMillis(5));
129+
127130
// sign in into Azure Sample App
128131
azureSampleApp.signInWithSingleAccountFragment(username2, password2, getBrowser(), false, microsoftStsPromptHandlerParameters);
129132

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/flw/TestCase833515.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
import com.microsoft.identity.labapi.utilities.exception.LabApiException;
5656

5757
import org.junit.Assert;
58+
import org.junit.Ignore;
5859
import org.junit.Test;
5960

6061
import java.util.Arrays;
@@ -64,6 +65,7 @@
6465
// https://identitydivision.visualstudio.com/DevEx/_workitems/edit/833515
6566
@SupportedBrokers(brokers = {BrokerMicrosoftAuthenticator.class, BrokerHost.class})
6667
@RetryOnFailure(retryCount = 2)
68+
@Ignore("This one is proving very inconsistent due to Edge Ui, should be ran manually")
6769
public class TestCase833515 extends AbstractMsalBrokerTest {
6870

6971
@Test

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/msa/TestCase2637829.kt renamed to msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/msa/TestCase2637829And2637846.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ import java.util.*
4545
@SupportedBrokers(brokers = [BrokerHost::class])
4646
@LocalBrokerHostDebugUiTest
4747
@RetryOnFailure
48-
class TestCase2637829 : AbstractMsaBrokerTest() {
48+
class TestCase2637829And2637846 : AbstractMsaBrokerTest() {
4949
@Test
5050
@Throws(Throwable::class)
51-
fun test_2637829() {
51+
fun test_2637829_2637846() {
5252
val username = mLabAccount.username
5353
val password = mLabAccount.password
5454
val msalSdk = MsalSdk()

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/nestedAppAuth/TestCase2703171.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import org.junit.Test;
3939

4040
// Nested app auth with US Gov accunt
41-
// https://identitydivision.visualstudio.com/Engineering/_workitems/edit/2702948
41+
// https://identitydivision.visualstudio.com/Engineering/_workitems/edit/2703171
4242
@LocalBrokerHostDebugUiTest
4343
@SupportedBrokers(brokers = {BrokerHost.class})
4444
public class TestCase2703171 extends AbstractMsalBrokerTest {

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/nonjoined/TestCase1561158.java

Lines changed: 0 additions & 60 deletions
This file was deleted.

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/wpj/TestCase1561079.java

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)