Skip to content

Commit

Permalink
Update Challenged and specific title (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinYSpasov authored Oct 17, 2024
1 parent d7a3dbf commit 09d5c73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/views/case-challenged-access/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
{% from "govuk/components/table/macro.njk" import govukTable %}
{% from "./../common/macros/csrf.njk" import csrfProtection %}

{% block pageTitle %}Log and Audit - Challenged & access{% endblock %}
{% block pageTitle %}Log and Audit - Challenged & specific access{% endblock %}

{% block auditSearch %}
{% if userRoles and 'cft-audit-investigator' in userRoles %}

<h1 class="govuk-heading-xl">Challenged & access search</h1>
<h1 class="govuk-heading-xl">Challenged & specific access search</h1>

<form id="challenged-audit-form" class="search-form" method="post" action="/challenge-access-search" novalidate>
{{ csrfProtection(csrfToken) }}
Expand Down
2 changes: 1 addition & 1 deletion src/main/views/common/navigation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</li>
{% if challengedAccessEnabled %}
<li class="moj-primary-navigation__item">
<a class="moj-primary-navigation__link" href="/challenged-specific-access" {% if challengedSpecificAccessPage %}aria-current="page" {% endif %}>Challenged & Specific Access</a>
<a class="moj-primary-navigation__link" href="/challenged-specific-access" {% if challengedSpecificAccessPage %}aria-current="page" {% endif %}>Challenged & specific access</a>
</li>
{% endif %}
<li class="moj-primary-navigation__item">
Expand Down
6 changes: 3 additions & 3 deletions src/test/end-to-end/paths/challengedSpecificAccessPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Scenario('Navigate to LAU, perform challenged/specific access search and check r
await I.waitForText('Log and Audit', testConfig.TestTimeToWaitForText);

await lauHelper.clickNavigationLink(I, tabs.CHALLENGED_SPECIFIC_ACCESS_SEARCH);
await I.waitForText('Challenged & access search', testConfig.TestTimeToWaitForText);
await I.waitForText('Challenged & specific access search', testConfig.TestTimeToWaitForText);
await I.performCaseChallengedAccessSearch();
await I.click('button[name="challenged-access-search-btn"]');

Expand All @@ -41,7 +41,7 @@ Scenario('Navigate to LAU, perform challenged/specific access search and downloa
await I.seeInCurrentUrl(tabs.CASE_SEARCH);
await I.waitForText('Log and Audit', testConfig.TestTimeToWaitForText);
await lauHelper.clickNavigationLink(I, tabs.CHALLENGED_SPECIFIC_ACCESS_SEARCH);
await I.waitForText('Challenged & access search', testConfig.TestTimeToWaitForText);
await I.waitForText('Challenged & specific access search', testConfig.TestTimeToWaitForText);
await I.performCaseChallengedAccessSearch();
await I.click('button[name="challenged-access-search-btn"]');
await I.waitForText('Results', testConfig.TestTimeToWaitForText);
Expand All @@ -64,7 +64,7 @@ Scenario('Navigate to LAU, perform challenged/specific access search and authent
await I.seeInCurrentUrl(tabs.CASE_SEARCH);
await I.waitForText('Log and Audit', testConfig.TestTimeToWaitForText);
await lauHelper.clickNavigationLink(I, tabs.CHALLENGED_SPECIFIC_ACCESS_SEARCH);
await I.waitForText('Challenged & access search', testConfig.TestTimeToWaitForText);
await I.waitForText('Challenged & specific access search', testConfig.TestTimeToWaitForText);
await I.performChallengedAccessSearchWithoutSearchData();
await I.click('button[name="challenged-access-search-btn"]');

Expand Down

0 comments on commit 09d5c73

Please sign in to comment.