-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: coverage, failures, and doc fixes (#24)
* fix: added failure test coverage * fix: added docs and updated to include description field * fix: updated breakpoints and TOC for HTML report * fix: updated links to carousel in docs and regenerated * fix: lint fixed
- Loading branch information
1 parent
14d2dbc
commit d75e274
Showing
37 changed files
with
442 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
cmd/test_data/00_will_fail.yaml → cmd/test_data/00_will_badly_fail.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
label: "will fail - no steps" | ||
description: sample description | ||
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
|
1 change: 1 addition & 0 deletions
1
.../07_basic_positional_input_will_pass.yaml → ...positional_input_overwrite_will_pass.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
|
17 changes: 17 additions & 0 deletions
17
cmd/test_data/08_basic_regex_input_will_fail_no_match.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
args: | ||
- Starting | ||
- label: saving input | ||
command: echo | ||
args: | ||
- "unmatched-input-value" | ||
output_processing: | ||
key: sample_input_key | ||
matching_args: | ||
regex: \[\[([^]]+)\] | ||
matching_type: regex | ||
fail_on_no_match: true |
18 changes: 18 additions & 0 deletions
18
cmd/test_data/09_basic_positional_input_will_fail_no_match.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
label: "basic flow #1" | ||
description: sample description | ||
steps: | ||
- label: start | ||
command: echo | ||
args: | ||
- Starting | ||
- label: saving input | ||
command: echo | ||
args: | ||
- "unmatched-input-value" | ||
output_processing: | ||
key: sample_input_key | ||
matching_args: | ||
positional_delimiter: "-" | ||
positional_index: 3 | ||
matching_type: positional | ||
fail_on_no_match: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
<html lang="en" data-theme="dark"> | ||
<head> | ||
<title>Clingy Report - basic flow #1</title> | ||
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/bootstrap-grid.min.css"> | ||
<style> | ||
html { | ||
overflow-x: hidden; | ||
} | ||
main.container { | ||
overflow: hidden; | ||
} | ||
img.baseImage { | ||
max-height: 70vh; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<main class="container"> | ||
<div class="row"> | ||
<div class="col-sm-7 offset-sm-1"> | ||
<hgroup> | ||
<h1> | ||
basic flow #1 | ||
</h1> | ||
<h2> | ||
|
||
sample description | ||
|
||
</h2> | ||
</hgroup> | ||
</div> | ||
<div class="col-sm-4"> | ||
<a href="#" class="contrast outline prev" role="button">Prev</a> | ||
<a href="#" class="contrast outline next" role="button">Next</a> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="siema col-sm-11 offset-sm-1"> | ||
|
||
<div class="slide"> | ||
<hgroup> | ||
<h3 id="0"> | ||
#0 start | ||
</h3> | ||
<h4> | ||
starting the example flow | ||
</h4> | ||
</hgroup> | ||
<img class="baseImage" alt="screenshot of start" src="0.jpg" /> | ||
</div> | ||
|
||
<div class="slide"> | ||
<hgroup> | ||
<h3 id="1"> | ||
#1 waiting | ||
</h3> | ||
<h4> | ||
sleeping for 1 second | ||
</h4> | ||
</hgroup> | ||
<img class="baseImage" alt="screenshot of waiting" src="1.jpg" /> | ||
</div> | ||
|
||
<div class="slide"> | ||
<hgroup> | ||
<h3 id="2"> | ||
#2 printing timestamp | ||
</h3> | ||
<h4> | ||
printing the date | ||
</h4> | ||
</hgroup> | ||
<img class="baseImage" alt="screenshot of printing timestamp" src="2.jpg" /> | ||
</div> | ||
|
||
<div class="slide"> | ||
<hgroup> | ||
<h3 id="3"> | ||
#3 finish | ||
</h3> | ||
<h4> | ||
finishing the example flow | ||
</h4> | ||
</hgroup> | ||
<img class="baseImage" alt="screenshot of finish" src="3.jpg" /> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</main> | ||
</body> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/siema.min.js" integrity="sha256-o/z6kPkEdOiAuBTgTdUaFN/F+srDaF3EbsJbkeAboXk=" crossorigin="anonymous"></script> | ||
<script> | ||
const siema = new Siema(); | ||
document.querySelector('.prev').addEventListener('click', () => siema.prev()); | ||
document.querySelector('.next').addEventListener('click', () => siema.next()); | ||
</script> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.