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

CI: mock youtube api for e2e tests #845

Open
dyc3 opened this issue Mar 28, 2023 · 0 comments
Open

CI: mock youtube api for e2e tests #845

dyc3 opened this issue Mar 28, 2023 · 0 comments
Labels
enhancement New feature or request tests Issues pertaining to tests

Comments

@dyc3
Copy link
Owner

dyc3 commented Mar 28, 2023

Is your feature request related to a problem? Please describe.

Currently, we have some e2e tests that require access to the youtube api. This is not ideal because it means we have to put our youtube api key in the repo secrets, and there's a risk it could get leaked.

Describe the solution you'd like

We should be able to start up a server and direct youtube api requests to that instead for testing.

https://www.mock-server.com/ might be sufficient.

Additional context

No response

@dyc3 dyc3 added enhancement New feature or request tests Issues pertaining to tests labels Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests Issues pertaining to tests
Projects
None yet
Development

No branches or pull requests

1 participant