-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix/asub 8279 broken login redirect 2.1.2 #2015
Fix/asub 8279 broken login redirect 2.1.2 #2015
Conversation
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 changes look fine, but there's linting errors and a failing test that will prevent the block from being published. Please check them with npm run lint:changed-feature-branch
and npm run test:changed-feature-branch
.
@vgalatro I made the fixes for the style linting and also fix the test. Looks like the project is missing the storybook module and also the stylelint is failing on a sh issue. When I run it locally it looks fine. |
const Test = (props) => { | ||
function Test(props) { |
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.
Why did this have to change here, but was left the same in the other PR?
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.
I had the same question but for some reason on this PR it gave me some linting errors in the test file. Not sure what changed from the 2.1.2 and 2.3.0 but it gave me this linting error and I did a lint:fix and this is what it generated.
All I did was a cherry pick so the code should be the same.
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.
Ok, everything looks good now! I'll merge this after confirming with Denise since it'll be available to 2.1.2 prod right after merging and publishing.
8114894
into
arc-themes-release-version-2.1.2
If you have not filled out the checklist below, the pr is not ready for review.
Description
This is a specific fix for Irish News but will also be added to 2.3.0 here in another PR #1997
Jira Ticket
Acceptance Criteria
Test Steps
Log in Redirect:
RegWall button:
Effect Of Changes
Before
Login Redirect:
RegWall:
After
Login Redirect:
RegWall:
Dependencies or Side Effects
None
Author Checklist
The author of the PR should fill out the following sections to ensure this PR is ready for review.
npm run lint
to check for errors. Often,npm run lint:fix
will fix those errors and warnings.npm run test:coverage
to see your progress.npm run test
, made sure all tests are passingplease explain why (so that we can fix it whenever it gets refactored).
Reviewer Checklist
The reviewer of the PR should copy-paste this template into the review comments on review.