Skip to content

Commit 399309c

Browse files
committed
fix remaining tests
1 parent 7c7e92b commit 399309c

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/AbstractGuestAccountMsalUiTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import com.microsoft.identity.labapi.utilities.authentication.LabApiAuthenticationClient;
3939
import com.microsoft.identity.labapi.utilities.client.ILabAccount;
4040
import com.microsoft.identity.labapi.utilities.client.LabClient;
41-
import com.microsoft.identity.labapi.utilities.client.LabGuestAccount;
4241
import com.microsoft.identity.labapi.utilities.constants.TempUserType;
4342
import com.microsoft.identity.labapi.utilities.exception.LabApiException;
4443

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import com.microsoft.identity.client.ui.automation.installer.LocalApkInstaller
3434
import com.microsoft.identity.client.ui.automation.interaction.FirstPartyAppPromptHandlerParameters
3535
import com.microsoft.identity.client.ui.automation.interaction.PromptParameter
3636
import com.microsoft.identity.client.ui.automation.logging.Logger
37+
import com.microsoft.identity.common.java.util.ThreadUtils
3738
import com.microsoft.identity.labapi.utilities.client.ILabAccount
3839
import com.microsoft.identity.labapi.utilities.constants.TempUserType
3940
import com.microsoft.identity.labapi.utilities.constants.UserType
@@ -80,6 +81,8 @@ class TestCase2798415 : AbstractMsalBrokerTest() {
8081
teams.addFirstAccount(username, password, teamsPromptHandlerParameters)
8182
// handle app protection policy in CP i.e. setup PIN when asked
8283
(companyPortal as IMdmAgent).handleAppProtectionPolicy()
84+
ThreadUtils.sleepSafely(10000, "sleeping", "interrupted sleep")
85+
8386
teams.forceStop() // Teams sometimes seems to like to pop up on screen randomly
8487

8588
teams.signOutSharedDeviceMode()

msalautomationapp/src/androidTest/java/com/microsoft/identity/client/msal/automationapp/testpass/msalonly/usgov/TestCase938383.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ public String getAuthority() {
122122

123123
@Override
124124
public int getConfigFileResourceId() {
125-
return R.raw.msal_config_instance_aware_common;
125+
return R.raw.msal_config_msidlab4_instance_aware;
126126
}
127127
}

0 commit comments

Comments
 (0)