mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(media hosting): restore android imgur support
This commit is contained in:
@@ -40,7 +40,7 @@ public class ImgurLiveUploadTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("Imgur upload is no longer supported on Android WebView; keep for manual diagnostics.")
|
||||
@Ignore("Live provider diagnostic; may fail when Imgur is unavailable from the current network.")
|
||||
public void imgur_liveUpload_fromGeneratedPng_succeeds() throws Exception {
|
||||
Intent launchIntent = new Intent(appContext, MainActivity.class);
|
||||
launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
|
||||
+3
-3
@@ -18,10 +18,10 @@ import org.junit.runner.RunWith;
|
||||
* Instrumentation tests for MediaUploadAutomationRunner against controlled HTML fixtures.
|
||||
* Uses DataTransfer injection (no chooser). Simulates: delayed DOM, missing selectors,
|
||||
* success URL extraction, blocked. Validates timeout/error classification (input_not_found,
|
||||
* blocked/captcha, upload_timed_out). Kept for opt-in diagnostics because Android app uploads no
|
||||
* longer use this WebView path.
|
||||
* blocked/captcha, upload_timed_out). Kept opt-in because these instrumentation tests exercise
|
||||
* WebView timing behavior rather than ordinary unit logic.
|
||||
*/
|
||||
@Ignore("Imgur WebView upload is no longer supported on Android; keep for manual diagnostics.")
|
||||
@Ignore("WebView automation fixture diagnostics; run manually with connected Android tests.")
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class MediaUploadAutomationRunnerTest {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user