|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<x:description |
3 | | - xmlns:x="http://www.jenitennison.com/xslt/xspec" |
| 2 | +<x:description xmlns:x="http://www.jenitennison.com/xslt/xspec" |
4 | 3 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
5 | | - xmlns:htop="http://cityehr/html/topic" |
6 | | - stylesheet="../../main/xslt/create-topic-html.xslt"> |
| 4 | + xmlns:htop="http://cityehr/html/topic" stylesheet="../../main/xslt/create-topic-html.xslt"> |
7 | 5 |
|
8 | | - <x:param name="version" as="xs:string">xspec-test-version</x:param> |
9 | | - <x:param name="petal-api-url" as="xs:string">https://petal.evolvedbinary.com</x:param> |
10 | | - <x:param name="petal-github-org-name" as="xs:string">evolvedbinary</x:param> |
11 | | - <x:param name="petal-github-repo-name" as="xs:string">cityehr-documentation</x:param> |
12 | | - <x:param name="petal-github-branch" as="xs:string">develop</x:param> |
13 | | - <x:param name="petal-referrer-base-url" as="xs:string">https://evolvedbinary.github.io/cityehr-documentation</x:param> |
| 6 | + <x:param name="version" as="xs:string">xspec-test-version</x:param> |
| 7 | + <x:param name="petal-api-url" as="xs:string">https://petal.evolvedbinary.com</x:param> |
| 8 | + <x:param name="petal-github-org-name" as="xs:string">evolvedbinary</x:param> |
| 9 | + <x:param name="petal-github-repo-name" as="xs:string">cityehr-documentation</x:param> |
| 10 | + <x:param name="petal-github-branch" as="xs:string">develop</x:param> |
| 11 | + <x:param name="petal-referrer-base-url" as="xs:string">https://evolvedbinary.github.io/cityehr-documentation</x:param> |
14 | 12 | <x:param name="petal-referrer-sub-folder" as="xs:string">quick-start-guide</x:param> |
15 | | - |
| 13 | + |
16 | 14 | <x:scenario label="Scenario for testing the petal-edit-url function with source file from local filesytem"> |
17 | 15 | <x:call function="htop:petal-edit-url"> |
18 | | - <x:param name="petal-source-file-uri" as="xs:string">file:/Users/aretter/code/evolvedbinary/customers/cityehr/cityehr-documentation/cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita</x:param> |
19 | | - <x:param name="petal-api-url" as="xs:string">https://petal.evolvedbinary.com</x:param> |
20 | | - <x:param name="petal-github-org-name" as="xs:string">evolvedbinary</x:param> |
21 | | - <x:param name="petal-github-repo-name" as="xs:string">cityehr-documentation</x:param> |
22 | | - <x:param name="petal-github-branch" as="xs:string">develop</x:param> |
| 16 | + <x:param name="petal-source-file-uri" as="xs:string">file:/Users/aretter/code/evolvedbinary/customers/cityehr/cityehr-documentation/cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita</x:param> |
| 17 | + <x:param name="petal-api-url" as="xs:string">https://petal.evolvedbinary.com</x:param> |
| 18 | + <x:param name="petal-github-org-name" as="xs:string">evolvedbinary</x:param> |
| 19 | + <x:param name="petal-github-repo-name" as="xs:string">cityehr-documentation</x:param> |
| 20 | + <x:param name="petal-github-branch" as="xs:string">develop</x:param> |
23 | 21 | <x:param name="petal-referrer-base-url" as="xs:string">https://evolvedbinary.github.io/cityehr-documentation</x:param> |
24 | 22 | <x:param name="petal-referrer-sub-folder" as="xs:string">quick-start-guide</x:param> |
25 | 23 | </x:call> |
26 | | - <x:expect label="Correct Petal Edit URL" select="'https://petal.evolvedbinary.com?ghrepo=evolvedbinary/cityehr-documentation&source=cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita&branch=develop&referer=https://evolvedbinary.github.io/cityehr-documentation/quick-start-guide/verify-install.html'"/> |
| 24 | + <x:expect label="Correct Petal Edit URL" select="'https://petal.evolvedbinary.com?ghrepo=evolvedbinary/cityehr-documentation&source=cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita&branch=develop&referrer=https://evolvedbinary.github.io/cityehr-documentation/quick-start-guide/verify-install.html'"/> |
27 | 25 | </x:scenario> |
28 | | - |
| 26 | + |
29 | 27 | <x:scenario label="Scenario for testing the petal-edit-url function with source file in GitHub Action container"> |
30 | 28 | <x:call function="htop:petal-edit-url"> |
31 | | - <x:param name="petal-source-file-uri" as="xs:string">file:/home/runner/work/cityehr-documentation/cityehr-documentation/cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita</x:param> |
32 | | - <x:param name="petal-api-url" as="xs:string">https://petal.evolvedbinary.com</x:param> |
33 | | - <x:param name="petal-github-org-name" as="xs:string">evolvedbinary</x:param> |
34 | | - <x:param name="petal-github-repo-name" as="xs:string">cityehr-documentation</x:param> |
35 | | - <x:param name="petal-github-branch" as="xs:string">develop</x:param> |
| 29 | + <x:param name="petal-source-file-uri" as="xs:string">file:/home/runner/work/cityehr-documentation/cityehr-documentation/cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita</x:param> |
| 30 | + <x:param name="petal-api-url" as="xs:string">https://petal.evolvedbinary.com</x:param> |
| 31 | + <x:param name="petal-github-org-name" as="xs:string">evolvedbinary</x:param> |
| 32 | + <x:param name="petal-github-repo-name" as="xs:string">cityehr-documentation</x:param> |
| 33 | + <x:param name="petal-github-branch" as="xs:string">develop</x:param> |
36 | 34 | <x:param name="petal-referrer-base-url" as="xs:string">https://evolvedbinary.github.io/cityehr-documentation</x:param> |
37 | 35 | <x:param name="petal-referrer-sub-folder" as="xs:string">quick-start-guide</x:param> |
38 | 36 | </x:call> |
39 | | - <x:expect label="Correct Petal Edit URL" select="'https://petal.evolvedbinary.com?ghrepo=evolvedbinary/cityehr-documentation&source=cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita&branch=develop&referer=https://evolvedbinary.github.io/cityehr-documentation/quick-start-guide/verify-install.html'"/> |
| 37 | + <x:expect label="Correct Petal Edit URL" select="'https://petal.evolvedbinary.com?ghrepo=evolvedbinary/cityehr-documentation&source=cityehr-quick-start-guide/src/main/lwdita/quick-start-guide/verify-install.dita&branch=develop&referrer=https://evolvedbinary.github.io/cityehr-documentation/quick-start-guide/verify-install.html'"/> |
40 | 38 | </x:scenario> |
41 | | - |
| 39 | + |
42 | 40 | </x:description> |
0 commit comments