<commit_before>package utils.pageobjects.save_for_later

import utils.WithJsBrowser
import utils.pageobjects._

final class GSaveForLaterResumePage(ctx:PageObjectsContext) extends ClaimPage(ctx, GSaveForLaterResumePage.url) {
  declareInput("#firstName","AboutYouFirstName")
  declareInput("#surname","AboutYouSurname")
  declareNino("#nationalInsuranceNumber","AboutYouNINO")
  declareDate("#dateOfBirth", "AboutYouDateOfBirth")
}

object GSaveForLaterResumePage {
  var url = "/resume?savekey=123456"

  def apply(ctx:PageObjectsContext) = new GSaveForLaterResumePage(ctx)
}

/** The context for Specs tests */
trait GSaveForLaterResumePageContext extends PageContext {
  this: WithJsBrowser[_] =>

  val page = GSaveForLaterResumePage(PageObjectsContext(browser))
}
<commit_msg>CADS-474 : Save for later link to resume must not contain uuid in clear. Parameter amended from savekey to x<commit_after>package utils.pageobjects.save_for_later

import utils.WithJsBrowser
import utils.pageobjects._

final class GSaveForLaterResumePage(ctx:PageObjectsContext) extends ClaimPage(ctx, GSaveForLaterResumePage.url) {
  declareInput("#firstName","AboutYouFirstName")
  declareInput("#surname","AboutYouSurname")
  declareNino("#nationalInsuranceNumber","AboutYouNINO")
  declareDate("#dateOfBirth", "AboutYouDateOfBirth")
}

object GSaveForLaterResumePage {
  var url = "/resume?x=123456"

  def apply(ctx:PageObjectsContext) = new GSaveForLaterResumePage(ctx)
}

/** The context for Specs tests */
trait GSaveForLaterResumePageContext extends PageContext {
  this: WithJsBrowser[_] =>

  val page = GSaveForLaterResumePage(PageObjectsContext(browser))
}

{'fraction_non_alphanumeric': 0.09872804360993337, 'fraction_numerical': 0.009085402786190187, 'mean_word_length': 7.787234042553192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2405685', 'n_tokens_mistral': 538, 'n_tokens_neox': 508, 'n_words': 98}