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

SFR-2416: Run e2e tests on local domain #569

Open
wants to merge 8 commits into
base: development
Choose a base branch
from

Conversation

jackiequach
Copy link
Collaborator

@jackiequach jackiequach commented Dec 18, 2024

Jira Ticket

This PR does the following:

  • Updates GH action to run e2e tests on local.nypl.org for PRs not merging production.
  • e2e tests will run on drb-qa.nypl.org for production PRs.
  • Re-enables the e2e test for login

Testing requirements & instructions:

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sfr-bookfinder-front-end ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 6:29pm

@jackiequach jackiequach changed the title SFR-2416: Run e2e tests on Vercel deploy SFR-2416: Run e2e tests on local domain Dec 19, 2024
@jackiequach jackiequach marked this pull request as ready for review December 19, 2024 18:50
@@ -14,7 +14,7 @@ test.beforeEach(async ({ context }) => {
test.afterEach(() => server.resetHandlers());
test.afterAll(() => server.close());

test.describe("Cookie authentication", () => {
test.skip("Cookie authentication", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

does this test still not pass? should we skip?

@@ -15,6 +15,19 @@ jobs:
with:
node-version-file: ".nvmrc"

- name: Set environment for branch
run: |
if [[ $GITHUB_REF_NAME == 'production' ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be [[ $GITHUB_REF_NAME == 'development' ]]?

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