Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ANDROAPP-6326] set default target SDK version #3730

Conversation

andresmr
Copy link
Collaborator

No description provided.

@andresmr andresmr force-pushed the ANDROAPP-6326-Set-target-SDK-version-to-allow-old-sdk-warning-in-Androdi-14 branch from 40d0b20 to 0aecd71 Compare July 17, 2024 08:50
@andresmr andresmr force-pushed the ANDROAPP-6326-Set-target-SDK-version-to-allow-old-sdk-warning-in-Androdi-14 branch from e8468a6 to f35d785 Compare July 17, 2024 12:52
@andresmr andresmr force-pushed the ANDROAPP-6326-Set-target-SDK-version-to-allow-old-sdk-warning-in-Androdi-14 branch from f35d785 to a55b830 Compare July 17, 2024 13:57
Copy link

fun checkSyncWasSuccessfully() {
val expectedTitle = InstrumentationRegistry.getInstrumentation()
.targetContext.getString(R.string.sync_dialog_title_synced)
composeTestRule.waitUntilAtLeastOneExists(hasText(expectedTitle))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this method I believe has a default time that throws an exception if not found, and is 1000 ms if not specified. I have seen tests fail due to the ocasional slow loading of the page other times this assertion was used, do you think it's a good idea to increase the time out to 2000 ms at least?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it has a default time 1000ms, so it's the time that the workers are setting sync successful, why don't we try the default implementation and if it fails we can think on increment it?

@andresmr andresmr merged commit ff652a8 into develop Jul 18, 2024
4 checks passed
@andresmr andresmr deleted the ANDROAPP-6326-Set-target-SDK-version-to-allow-old-sdk-warning-in-Androdi-14 branch July 18, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants