Skip to content

Commit bfc7e69

Browse files
API-7643 Add meta description to dev hub home page (#506)
* API-7643 Add meta description to dev hub home page * API-7643 Renamed meta description message and moved away from cookies * API-7643 Update acceptance test dependencies to support selenium manager
1 parent a18a686 commit bfc7e69

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Frontend for API documentation - part of the Developer Hub
66

77
[**Note**: Acceptance and Unit tests will fail if they are running at the same time as api-documentation-frontend.]
88

9-
1. Run Assets Frontend using command ```sm --start ASSETS_FRONTEND``` where HMRC projects have been checked out.
9+
1. Run Assets Frontend using command ```sm --start ASSETS_FRONTEND``` or ```sm2 --start ASSETS_FRONTEND_2``` where HMRC projects have been checked out.
1010

1111
2. Install chrome driver if you have not done already .
1212

app/uk/gov/hmrc/apidocumentation/views/templates/LayoutHomePage.scala.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
@head = {
4141
<link href='@controllers.routes.Assets.versioned("css/main.css")' media="screen" rel="stylesheet" type="text/css" />
42+
<meta name="description" content="@Messages("home_page.metaDescription")">
4243
@hmrcTrackingConsentSnippet()
4344
}
4445

conf/messages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,4 @@ footer.links.accessibility.text = Accessibility statement
9999

100100
terms_of_use.fetch_failed=An error occurred retrieving the current Terms of Use
101101

102+
home_page.metaDescription=The Developer Hub gives you access to HMRC APIs, documentation about their functions, and helps you to integrate your applications.

project/AppDependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ object AppDependencies {
4141
"io.cucumber" %% "cucumber-scala" % "5.7.0",
4242
"org.mockito" %% "mockito-scala-scalatest" % "1.17.30",
4343
"org.jsoup" % "jsoup" % "1.12.1",
44-
"uk.gov.hmrc" %% "ui-test-runner" % "0.22.0",
44+
"uk.gov.hmrc" %% "ui-test-runner" % "0.29.0",
4545
"uk.gov.hmrc" %% "api-platform-test-common-domain" % commonDomainVersion
4646
).map(_ % Test)
4747
}

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ resolvers += Resolver.typesafeRepo("releases")
44

55
addSbtPlugin("uk.gov.hmrc" % "sbt-auto-build" % "3.21.0")
66
addSbtPlugin("uk.gov.hmrc" % "sbt-distributables" % "2.5.0")
7+
addSbtPlugin("uk.gov.hmrc" % "sbt-test-report" % "0.26.0")
78
addSbtPlugin("org.playframework" % "sbt-plugin" % "3.0.2")
89
addSbtPlugin("io.github.irundaia" % "sbt-sassify" % "1.5.2")
910
addSbtPlugin("net.ground5hark.sbt" % "sbt-concat" % "0.2.0")

0 commit comments

Comments
 (0)