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

[Demo]: Updated e2e tests with changes from template-infra #86

Closed
wants to merge 3 commits into from

Conversation

rylew1
Copy link

@rylew1 rylew1 commented Jul 29, 2024

Ticket

Resolves #{TICKET NUMBER OR URL}

Changes

  • Test that changes made on template-infra repo still work

Context for reviewers

This PR still appears to work on this repo:

Preview environment

@rylew1 rylew1 requested a review from lorenyu July 29, 2024 19:21
@rylew1 rylew1 changed the title Updated e2e tests with changes from template-infra [Demo]: Updated e2e tests with changes from template-infra Jul 29, 2024
Copy link
Collaborator

@lorenyu lorenyu left a comment

Choose a reason for hiding this comment

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

LGTM, left a comment about getting rid of unneeded env vars, try that and test to see if it works

.github/workflows/e2e-tests.yml Outdated Show resolved Hide resolved
Comment on lines 18 to 21
env:
BASE_URL: ${{ inputs.service_endpoint }}
APP_NAME: ${{ inputs.app_name }}

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: delete, doesn't look like this is used anywhere. in the "run e2e tests" step, you use inputs.app_name and inputs.service_endpoint, not env.app_name and env.service_endpoint

Copy link
Author

@rylew1 rylew1 Aug 2, 2024

Choose a reason for hiding this comment

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

Thanks - looks like it still works with the env definitions removed:

Run make e2e-test APP_NAME=app BASE_URL=http://p-86-app-dev-1797299030.us-east-1.elb.amazonaws.com/
  make e[2](https://github.com/navapbc/platform-test-nextjs/actions/runs/10222286732/job/28286717255?pr=86#step:5:2)e-test APP_NAME=app BASE_URL=http://p-86-app-dev-17972990[3](https://github.com/navapbc/platform-test-nextjs/actions/runs/10222286732/job/28286717255?pr=86#step:5:3)0.us-east-1.elb.amazonaws.com
  shell: /usr/bin/bash -e {0}

Running [6](https://github.com/navapbc/platform-test-nextjs/actions/runs/10222286732/job/28286717255?pr=86#step:5:7) tests using 1 worker
······
  6 passed (8.3s)

Makefile Outdated Show resolved Hide resolved
rylew1 and others added 2 commits August 2, 2024 14:23
Co-authored-by: Loren Yu <loren@navapbc.com>
@rylew1 rylew1 requested a review from lorenyu August 2, 2024 21:44
@rylew1
Copy link
Author

rylew1 commented Oct 16, 2024

See the final PR on the template-infra repo - https://github.com/navapbc/template-infra/pull/694/files

Closing this

@rylew1 rylew1 closed this Oct 16, 2024
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