Skip to content

Re-add tests for loading the last URL visited by the app #316

@jkuester

Description

@jkuester

#315 deleted the LastUrlTest.java file which was a UI Test (Android test):

Test that when the app is closed and then opened again, the last URL viewed is loaded instead of the app URL.

Unfortunately, these UI tests have not been properly running since #236 when changes to the brand naming (dropping Webapp) meant that the make commands for the UI tests would complete successfully, but no tests would actually get run. Then, #252 removed the DISABLE_APP_URL_VALIDATION functionality that was required for the LastUrlTest. (Since the UI tests were not actually running, we did not realize at the time that it was required for the test...)

I have considered simply re-adding DISABLE_APP_URL_VALIDATION so that the LastUrlTest can run, but that flag is essentially an obscene hack that would only be useful for this hacky test case. Instead, I am just removing the test in #315 and logging this issue so that someone (aka future me) can go figure out a better way to do this test that does not involve hacking all over the implementation code....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions