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

Add a test for going from a regular POST into a subflow #425

Merged
merged 4 commits into from
Nov 6, 2023

Conversation

spokenbird
Copy link
Contributor

  • Adds a test to prevent regression with regards to c05abf3

@@ -9,8 +9,8 @@
<main id="content" role="main" class="form-card spacing-above-35">
<th:block
th:replace="~{fragments/cardHeader :: cardHeader(header='Subflow Page', subtext='This is a page within a subflow')}"/>
<!-- Test that the currentSubflowItem is passed in by the controller: -->
<div th:text="${currentSubflowItem.firstNameSubflow}"></div>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure what this was doing exactly but firstNameSubflow was null and I couldn't figure out what would have been setting it in the first place.

Copy link
Contributor

@bseeger bseeger Oct 30, 2023

Choose a reason for hiding this comment

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

I wonder if that was debug that didn't get taken out?

Copy link
Contributor

Choose a reason for hiding this comment

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

Should that div even be there? Not exactly sure what it's doing either.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think you might be right, I'll take it out all together.

Copy link
Member

Choose a reason for hiding this comment

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

@spokenbird Did you decide to remove this?

@cy-by
Copy link
Contributor

cy-by commented Nov 1, 2023

@spokenbird, when your back, what's the status of this PR? Is is ready to be reviewed?

@spokenbird spokenbird merged commit 41bc97a into main Nov 6, 2023
3 checks passed
@spokenbird spokenbird deleted the add-subflow-test branch November 6, 2023 22:13
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.

4 participants