-
-
Notifications
You must be signed in to change notification settings - Fork 835
Option to disable logging failed requests during E2E tests #2572
Copy link
Copy link
Closed
ionic-team/ionic-framework
#29666Labels
Resolution: RefineThis PR is marked for Jira refinement. We're not working on it - we're talking it through.This PR is marked for Jira refinement. We're not working on it - we're talking it through.
Description
Stencil version: 1.16.0
I'm submitting a:
[ ] bug report
[X] feature request
[ ] support request
Current behavior:
Currently it defaults to logging errors to the console when requests abort/fail in E2E tests.
Expected behavior:
I'm writing tests for a video player and sometimes there are requests lingering at the end of my tests from buffering frames and other stuff. I'd like an option when creating newE2EPage to to stop the errors from logging.
Maybe an option to disable requests that were simply aborted req.failure()?.errorText === 'net::ERR_ABORTED' would be more specific?
Related code:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: RefineThis PR is marked for Jira refinement. We're not working on it - we're talking it through.This PR is marked for Jira refinement. We're not working on it - we're talking it through.