-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: development
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
playwright/integration/auth.spec.ts
Outdated
@@ -14,7 +14,7 @@ test.beforeEach(async ({ context }) => { | |||
test.afterEach(() => server.resetHandlers()); | |||
test.afterAll(() => server.close()); | |||
|
|||
test.describe("Cookie authentication", () => { | |||
test.skip("Cookie authentication", () => { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests didn't pass due to a double redirect for the login.nypl.org page. I updated the tests to check for the final destination.
@@ -15,6 +15,19 @@ jobs: | |||
with: | |||
node-version-file: ".nvmrc" | |||
|
|||
- name: Set environment for branch | |||
run: | | |||
if [[ $GITHUB_REF_NAME == 'production' ]]; then |
There was a problem hiding this comment.
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' ]]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since we talked about getting rid of the produciton/development branches and just using main for full CI/CD i'm wondering if this makes sense to use as a check. is there another check we could use?
Jira Ticket
This PR does the following:
Testing requirements & instructions: