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

Fix #1769: Re-enable previously failing skipped tests (Espresso only) #2683

Merged

Conversation

yurilev
Copy link
Contributor

@yurilev yurilev commented Feb 10, 2021

Explanation

Fixes #1769: Re-enable previously failing skipped tests (Espresso only):

  • testStateFragment_loadExp_continueToEndExploration_hasReturnToTopicButton()
  • testStateFragment_loadExp_changeConfiguration_continueToEnd_hasReturnToTopicButton()

Tested on emulators locally.

Leaving TODOs for #1612 to fix them for Robolectric - similar TODOs are present for the parallel portrait tests.

Checklist

  • The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
  • The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
  • The PR follows the style guide.
  • The PR does not contain any unnecessary auto-generated code from Android Studio.
  • The PR is made from a branch that's not called "develop".
  • The PR is made from a branch that is up-to-date with "develop".
  • The PR's branch is based on "develop" and not on any other branch.
  • The PR is assigned to an appropriate reviewer in both the Assignees and the Reviewers sections.

* testStateFragment_loadExp_continueToEndExploration_hasReturnToTopicButton()

* testStateFragment_loadExp_changeConfiguration_continueToEnd_hasReturnToTopicButton()

Leaving TODOs for oppia#1612 to fix them for Robolectric - similar TODOs are present for the parallel portrait tests.
@yurilev yurilev requested a review from BenHenning as a code owner February 10, 2021 19:46
@@ -809,7 +808,7 @@ class StateFragmentTest {
}

@Test
@Ignore("Currently failing due to a regression") // TODO(#1769): Re-enable.
@RunOn(TestPlatform.ESPRESSO) // TODO(#1612): Enable for Robolectric.
Copy link
Contributor Author

@yurilev yurilev Feb 10, 2021

Choose a reason for hiding this comment

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

Note there are identical preexisting TODOs for adjacent tests, portrait versions of these two.

Copy link
Member

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Thanks @yurilev. This LGTM.

@BenHenning
Copy link
Member

Though before merging, @yurilev can you confirm which parts of #1769 that this doesn't address?

@BenHenning BenHenning assigned yurilev and unassigned BenHenning Feb 11, 2021
@yurilev
Copy link
Contributor Author

yurilev commented Feb 11, 2021

I titled it "fix part of" because at the time I thought the discussion might lead to more action items. Renamed the pull request to not say "part of".

The tests are still disabled for Robolectric, but that is covered by the TODOs for #1612.

@yurilev yurilev changed the title Fix part of #1769: Re-enable previously failing skipped tests (Espresso only) Fix #1769: Re-enable previously failing skipped tests (Espresso only) Feb 11, 2021
@yurilev yurilev assigned BenHenning and unassigned yurilev Feb 11, 2021
@BenHenning
Copy link
Member

Thanks @yurilev. SGTM.

@BenHenning BenHenning merged commit 8cbd6a2 into oppia:develop Feb 11, 2021
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.

Inputting TextInput answers in landscape auto-closes keyboard
2 participants