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

Unskip MetaMask add/switch network tests #835

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

duckception
Copy link
Contributor

@duckception duckception commented Aug 16, 2023

Integrating Nginx allows us to redirect http://127.0.0.1:8545 calls to http://foundry:8545 and http://127.0.0.1:8546 calls to http://foundry-metamask-test-dapp:8546. With this, we don't have to worry about conditionally handling RPC URLs or RPC calls to a local node from the MetaMask Test Dap when running tests in docker.

@cypress
Copy link

cypress bot commented Aug 16, 2023

Passing run #361 ↗︎

0 171 0 0 Flakiness 0

Details:

Unskip MetaMask add/switch network tests
Project: synpress Commit: a9235447f3
Status: Passed Duration: 13:10 💡
Started: Aug 17, 2023 12:11 AM Ended: Aug 17, 2023 12:25 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@duckception duckception force-pushed the duckception/unskip-metamask-network-tests branch from b886b8d to 04b1336 Compare August 16, 2023 23:26
Comment on lines +7 to +10
RUN apt update && apt install -y nginx

COPY nginx.conf /etc/nginx/sites-available/default

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is good place to add this piece. The issue is that people use this Dockerfile as a reference to run their setup and nginx in most cases is redundant there and is very specific to our use case.

Nevertheless, sooner or later there may be more cases with specific things to our setup, so maybe it's not a huge issue at all. We can provide proper examples in synpress-examples repo.

@drptbl drptbl merged commit 774ce54 into dev Aug 17, 2023
16 checks passed
@drptbl drptbl deleted the duckception/unskip-metamask-network-tests branch August 17, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants