Skip to content

Updated story generator instructions #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/alkiln/writing_tests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,6 @@ You can use the [story table generator](https://plocket.github.io/alkiln_story/)

Follow these instructions to use the generator:

1. If you don't have one already, [add a new test file](#how-do-i-add-a-new-test-file). You can leave out the Scenario.
1. Ensure your server config is set up to [show debug info](https://docassemble.org/docs/config.html#debug).
1. Run your interview manually until you reach the page you want the story table to get to.
1. Open the "source" display of the interview. Currently, that looks like angle brackets, `</>`, in the header of the page.
Expand All @@ -1383,9 +1382,9 @@ Follow these instructions to use the generator:
1. Copy all the text on that page.
1. Go to the [story table generator](https://plocket.github.io/alkiln_story/).
1. Paste the JSON into the text area there, as instructed.
1. Use the other input fields to help finalize your Scenario, including the page `id`.
1. Copy the Scenario that has been generated for you.
1. Paste that into the already prepared test file.
1. Use the other input fields to help finalize your Scenario, including the question `id`.
1. Download the file the generator created. It should end in `.feature`.
1. Upload that `.feature` file into your "Sources" folder in your Project.


## Test file anatomy {#test-files}
Expand Down
Loading