Skip to content

Commit

Permalink
Mark failed tests for tags and variables (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamos-tay authored and yamgent committed Mar 8, 2019
1 parent 513031a commit 90f0d93
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions test/functional/test_site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ tags: ["tag-frontmatter-shown", "tag-included-file", "+tag-exp*", "-tag-exp-hidd
{{ page_variable_referencing_page_variable }}

# Global Variable overriding Page Variable
<variable name="page_global_variable_overriding_page_variable">Page Variable overridden by Global Variable</variable>
<variable name="page_global_variable_overriding_page_variable">**Should not appear**: Page Variable overridden by Global Variable</variable>
{{ page_global_variable_overriding_page_variable }}

# Test Page Variable and Included Variable Integrations
Expand Down Expand Up @@ -139,10 +139,10 @@ tags: ["tag-frontmatter-shown", "tag-included-file", "+tag-exp*", "-tag-exp-hidd
<span id="included_variable_with_markdown">__**Included variable with markdown**__</span>
<span id="included_variable_as_attribute">color: blue</span>
<span id="included_variable_as_html_element"><span>Included variable within html element</span></span>
<span id="global_variable_overriding_included_variable">Included variable overridden by global variable</span>
<span id="global_variable_overriding_included_variable">**Should not appear**: Included variable overridden by global variable</span>
<span id="included_variable_inner_overridden">Included variable overriding inner variable</span>
<span id="included_variable_in_outer_included_file">Included variable in outer included file</span>
<span id="included_variable_should_not_leak">Included variable should not leak into other files</span>
<span id="included_variable_should_not_leak">**Should not appear**: Included variable should not leak into other files</span>
<span id="included_variable_with_global_variable">Included variable with {{ global_variable }}</span>
</include>

Expand Down
4 changes: 2 additions & 2 deletions test/functional/test_site/testIncludeVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

# Test included variables in included file
<include src="testIncludeVariablesIncludedFile.md">
<span id="included_variable_inner_overridden">Included variable overridden by outer variable</span>
<span id="included_variable_should_not_leak_inner">Included variable should not leak into other files</span>
<span id="included_variable_inner_overridden">**Should not appear**: Included variable overridden by outer variable</span>
<span id="included_variable_should_not_leak_inner">**Should not appear**: Included variable should not leak into other files</span>
</include>

# Inner included variables should not leak into other files
Expand Down
2 changes: 1 addition & 1 deletion test/functional/test_site/testPageVariablesInInclude.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ nested_page_variable or "Outer Page Variable Should Not Leak Into Inner Pages" }}

# Included Variable Overriding Page Variable
<variable name="included_variable_overriding_page_variable">Page Variable Overridden by Included Variable</variable>
<variable name="included_variable_overriding_page_variable">**Should not appear**: Page Variable Overridden by Included Variable</variable>
{{ included_variable_overriding_page_variable }}

# Page Variable Referencing Included Variable
Expand Down
6 changes: 3 additions & 3 deletions test/functional/test_site/testTags.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Div with multiple tags

# Div with hidden tag (Hidden)
<div tags="tag-hidden">
Div with hidden tag
**Should not appear** Div with hidden tag
</div>

<include src="testIncludeFileTags.md" />
Expand All @@ -28,7 +28,7 @@ Div with tag matching general tag

# Div with tag matching general tag and specific tag (Hidden)
<div tags="tag-exp-hidden">
Div with tag matching general tag expression and specific tag expression
**Should not appear** Div with tag matching general tag expression and specific tag expression
</div>

# Div with tag matching front matter tag overridden by matching site tag
Expand All @@ -38,7 +38,7 @@ Div with tag matching front matter tag overridden by matching site tag

# Div with tag matching general front matter tag not overridden by matching specific site tag (Hidden)
<div tags="tag-site-override-hidden">
Div with tag matching general front matter tag not overridden by matching specific site tag
**Should not appear** Div with tag matching general front matter tag not overridden by matching specific site tag
</div>

# Div with tag matching general front matter tag overridden by matching specific site tag
Expand Down

0 comments on commit 90f0d93

Please sign in to comment.