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

[WIP] Unified test suite: prototype interception proxy #1737

Closed

Conversation

lawrence-forooghian
Copy link
Collaborator

@lawrence-forooghian lawrence-forooghian commented Apr 15, 2024

As described in this internal RFC.

@lawrence-forooghian lawrence-forooghian force-pushed the ECO-14-document-internal-api-use-in-tests branch 29 times, most recently from f781da0 to b04ffc9 Compare April 17, 2024 19:02
@github-actions github-actions bot temporarily deployed to staging/pull/1737/features April 17, 2024 19:03 Inactive
@lawrence-forooghian lawrence-forooghian force-pushed the ECO-14-document-internal-api-use-in-tests branch 2 times, most recently from 0baae01 to a96b2d0 Compare May 2, 2024 13:07
@lawrence-forooghian lawrence-forooghian changed the base branch from main to ECO-4786-document-private-API-usage May 15, 2024 19:54
@lawrence-forooghian lawrence-forooghian force-pushed the ECO-14-document-internal-api-use-in-tests branch from a96b2d0 to 949e2e6 Compare May 15, 2024 19:54
@lawrence-forooghian lawrence-forooghian changed the title [WIP] Unified test suite: document private API usage and prototype interception proxy [WIP] Unified test suite: prototype interception proxy May 15, 2024
@github-actions github-actions bot temporarily deployed to staging/pull/1737/features May 15, 2024 19:55 Inactive
@lawrence-forooghian lawrence-forooghian force-pushed the ECO-4786-document-private-API-usage branch from 812851e to 28523ba Compare May 21, 2024 18:10
@lawrence-forooghian lawrence-forooghian force-pushed the ECO-14-document-internal-api-use-in-tests branch from 949e2e6 to 53326f2 Compare May 21, 2024 18:18
@github-actions github-actions bot temporarily deployed to staging/pull/1737/features May 21, 2024 18:18 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1737/bundle-report May 21, 2024 18:19 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1737/typedoc May 21, 2024 18:19 Inactive
For upcoming interception proxy.

TODO: once I’ve got rid of the subsequent commit with the old Python
code, put this into the later commit instead
Implemented entirely as an mitmproxy addon. Abandoned because it didn’t
give me sufficient control over WebSocket connection lifetimes.
This reverts commit eeebf5d.

(I just want to keep it in the Git history for now, in case for some
reason it’s useful to return to.)
@lawrence-forooghian lawrence-forooghian force-pushed the ECO-14-document-internal-api-use-in-tests branch from 53326f2 to 1f5bdc6 Compare July 16, 2024 14:41
@github-actions github-actions bot temporarily deployed to staging/pull/1737/bundle-report July 16, 2024 14:41 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1737/features July 16, 2024 14:42 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1737/typedoc July 16, 2024 14:42 Inactive
- start-interception-proxy adapted from https://github.com/ably/sdk-test-proxy at 82e93a7

Some TODOs which aren’t really important right now because this is just
a prototype:

- TODO fix type checking for interception proxy — `npm run build` does
  it properly, but tried to reproduce the way we do it for modulereport
  and it didn’t work

- TODO fix linting for interception proxy — doesn’t seem to be catching
  lint errors

- TODO linting / type checking etc for Python code

Also:

> Add test:playwright:open-browser script
>
> Lets you open a headed browser which is configured to use the
> interception proxy. Useful for local debugging of browser tests.
@lawrence-forooghian
Copy link
Collaborator Author

Replaced by #1816 (to fix branch name).

@github-actions github-actions bot temporarily deployed to staging/pull/1816/bundle-report July 16, 2024 17:50 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1816/typedoc July 16, 2024 17:50 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/1816/features July 16, 2024 17:50 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant