Move various e2e defintions out to yaml files (#1166)
We have code to generate tables, which we should use in the e2e section.
This commit is contained in:
parent
5f3b34448d
commit
ea42cd3c7b
7 changed files with 147 additions and 53 deletions
|
@ -18,6 +18,10 @@
|
|||
{{/* The definition is referenced by the .path parameter */}}
|
||||
{{ $definition := index .Site.Data $pieces }}
|
||||
|
||||
{{ if not $definition }}
|
||||
{{ errorf "site data %s not found" $path }}
|
||||
{{ end }}
|
||||
|
||||
{{/* The base path, which we use to resolve $ref, omits the last component */}}
|
||||
{{ $pieces = first (sub (len $pieces) 1) $pieces}}
|
||||
{{ $path = delimit $pieces "/" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue