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

AP-5443: Change review and print heading from h1 to h2 #7407

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<%= render "shared/review_application/questions_and_answers" %>

<div class="no-print govuk-!-padding-top-6">
<h1 class="govuk-heading-l"><%= t(".print_your_application") %></h1>
<h2 class="govuk-heading-l"><%= t(".print_your_application") %></h2>

<p class="govuk-body">
<% if @legal_aid_application.non_means_tested? %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Feature: Review and print your application
| h2 | Case details |
| h2 | Latest incident details |
| h2 | Opponent details |
| h1 | Print your application |
| h2 | Print your application |

Then the following sections should not exist:
| tag | section |
Expand Down Expand Up @@ -87,7 +87,7 @@ Feature: Review and print your application
| h2 | Case details |
| h2 | Latest incident details |
| h2 | Opponent details |
| h1 | Print your application |
| h2 | Print your application |

Then the following sections should not exist:
| tag | section |
Expand Down Expand Up @@ -125,7 +125,7 @@ Feature: Review and print your application
| h2 | Case details |
| h2 | Latest incident details |
| h2 | Opponent details |
| h1 | Print your application |
| h2 | Print your application |

Then the following sections should not exist:
| tag | section |
Expand Down
10 changes: 5 additions & 5 deletions features/providers/review_and_print.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Feature: Review and print your application
| h2 | Case details |
| h2 | Latest incident details |
| h2 | Opponent details |
| h1 | Print your application |
| h2 | Print your application |

Then the following sections should not exist:
| tag | section |
Expand Down Expand Up @@ -69,7 +69,7 @@ Feature: Review and print your application
| h2 | Case details |
| h2 | Latest incident details |
| h2 | Opponent details |
| h1 | Print your application |
| h2 | Print your application |

Then the following sections should not exist:
| tag | section |
Expand Down Expand Up @@ -129,7 +129,7 @@ Feature: Review and print your application
| h2 | Case details |
| h2 | Latest incident details |
| h2 | Opponent details |
| h1 | Print your application |
| h2 | Print your application |

Then the following sections should not exist:
| tag | section |
Expand Down Expand Up @@ -170,7 +170,7 @@ Feature: Review and print your application
| h2 | What you're applying for |
| h2 | Inherent jurisdiction high court injunction |
| h2 | Income, regular payments and assets |
| h1 | Print your application |
| h2 | Print your application |

And I should see 'Non means tested'
And I should see 'Print the application and get the person acting for'
Expand All @@ -193,7 +193,7 @@ Feature: Review and print your application
| h2 | What you're applying for |
| h2 | Income, regular payments and assets |
| h2 | Case details |
| h1 | Print your application |
| h2 | Print your application |

And I should see 'Delegated functions'
And I should not see 'Email address'
Expand Down