You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BitbucketForm-test.tsx.snap 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly 1`] = `
  3. <Fragment>
  4. <AlmBindingDefinitionFormField
  5. autoFocus={true}
  6. help="settings.almintegration.form.name.bitbucket.help"
  7. id="name.bitbucket"
  8. maxLength={100}
  9. onFieldChange={[MockFunction]}
  10. propKey="key"
  11. value=""
  12. />
  13. <AlmBindingDefinitionFormField
  14. help={
  15. <FormattedMessage
  16. defaultMessage="settings.almintegration.form.url.bitbucket.help"
  17. id="settings.almintegration.form.url.bitbucket.help"
  18. values={
  19. Object {
  20. "example": "https://bitbucket-server.your-company.com",
  21. }
  22. }
  23. />
  24. }
  25. id="url.bitbucket"
  26. maxLength={2000}
  27. onFieldChange={[MockFunction]}
  28. propKey="url"
  29. value=""
  30. />
  31. <AlmBindingDefinitionFormField
  32. id="personal_access_token"
  33. isTextArea={true}
  34. onFieldChange={[MockFunction]}
  35. propKey="personalAccessToken"
  36. value=""
  37. />
  38. </Fragment>
  39. `;
  40. exports[`should render correctly 2`] = `
  41. <Fragment>
  42. <AlmBindingDefinitionFormField
  43. autoFocus={true}
  44. help="settings.almintegration.form.name.bitbucket.help"
  45. id="name.bitbucket"
  46. maxLength={100}
  47. onFieldChange={[MockFunction]}
  48. propKey="key"
  49. value="key"
  50. />
  51. <AlmBindingDefinitionFormField
  52. help={
  53. <FormattedMessage
  54. defaultMessage="settings.almintegration.form.url.bitbucket.help"
  55. id="settings.almintegration.form.url.bitbucket.help"
  56. values={
  57. Object {
  58. "example": "https://bitbucket-server.your-company.com",
  59. }
  60. }
  61. />
  62. }
  63. id="url.bitbucket"
  64. maxLength={2000}
  65. onFieldChange={[MockFunction]}
  66. propKey="url"
  67. value="http://bbs.enterprise.com"
  68. />
  69. <AlmBindingDefinitionFormField
  70. id="personal_access_token"
  71. isTextArea={true}
  72. onFieldChange={[MockFunction]}
  73. propKey="personalAccessToken"
  74. value="asdf1234"
  75. />
  76. </Fragment>
  77. `;