Skip to content

Commit 477a729

Browse files
authored
Ignore some UI tests that use ResetApi, EnablePolicyApi, Fixes AB#3424041 (#2398)
There are some functions that still don't work from lab api. This PR ignores 4 tests that use these apis. Common PR to fix lab api calls: AzureAD/microsoft-authentication-library-common-for-android#2809 [AB#3424041](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3424041)
1 parent 48cbc99 commit 477a729

File tree

6 files changed

+17
-1
lines changed

6 files changed

+17
-1
lines changed

common

Submodule common updated 23 files

msal/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,14 @@ android {
138138
}
139139
}
140140

141+
libraryVariants.all { variant ->
142+
tasks.named("assemble${variant.name.capitalize()}").configure {
143+
doFirst {
144+
println("Assembling variant: ${variant.name} for ${project.name}")
145+
}
146+
}
147+
}
148+
141149
testOptions {
142150
unitTests.all {
143151
if (!project.hasProperty('labtest')) {

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/joined/TestCase1561151.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import com.microsoft.identity.labapi.utilities.constants.TempUserType;
4242

4343
import org.junit.Assert;
44+
import org.junit.Ignore;
4445
import org.junit.Test;
4546

4647
import java.util.Arrays;
@@ -51,6 +52,7 @@
5152
@RetryOnFailure
5253
@LongUIAutomationTest("Password reset test")
5354
@RunOnAPI29Minus
55+
@Ignore("Ignore until lab issue is resolved for Reset API")
5456
public class TestCase1561151 extends AbstractMsalBrokerTest {
5557
@Test
5658
public void test_1561151_Joined_PasswordChange() throws Throwable {

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/broker/mam/TestCase850457.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import com.microsoft.identity.labapi.utilities.constants.TempUserType;
4141

4242
import org.junit.Assert;
43+
import org.junit.Ignore;
4344
import org.junit.Test;
4445

4546
import java.util.Arrays;
@@ -50,6 +51,7 @@
5051
@RetryOnFailure
5152
@LongUIAutomationTest("Password reset test")
5253
@RunOnAPI29Minus
54+
@Ignore("Ignore until lab issue is resolved for Reset API")
5355
public class TestCase850457 extends AbstractMsalBrokerTest {
5456

5557
@Test

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import com.microsoft.identity.labapi.utilities.constants.TempUserType;
4444

4545
import org.junit.Assert;
46+
import org.junit.Ignore;
4647
import org.junit.Test;
4748
import java.util.Arrays;
4849
import java.util.concurrent.TimeUnit;
@@ -52,6 +53,7 @@
5253
@RetryOnFailure
5354
@LongUIAutomationTest("Password reset test")
5455
@RunOnAPI29Minus
56+
@Ignore("Ignore until lab issue is resolved for Reset API")
5557
public class TestCase1561152 extends AbstractMsalBrokerTest {
5658

5759
@Test

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import com.microsoft.identity.labapi.utilities.constants.ProtectionPolicy;
4141
import com.microsoft.identity.labapi.utilities.constants.TempUserType;
4242

43+
import org.junit.Ignore;
4344
import org.junit.Test;
4445

4546
import java.util.Arrays;
@@ -49,6 +50,7 @@
4950
// https://identitydivision.visualstudio.com/Engineering/_workitems/edit/2139526
5051
@RetryOnFailure
5152
@LongUIAutomationTest
53+
@Ignore("Ignore until lab issue is resolved for Enable Policy API")
5254
public class TestCase2139526 extends AbstractMsalBrokerTest {
5355

5456
@Test

0 commit comments

Comments
 (0)