Skip to content

Instantly share code, notes, and snippets.

@Platekun
Last active September 7, 2019 15:56
Show Gist options
  • Save Platekun/ff430b1edd05b5207fe8668bec46056f to your computer and use it in GitHub Desktop.
Save Platekun/ff430b1edd05b5207fe8668bec46056f to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: "Test Case Machine",
initial: "initial",
states: {
initial: {
on: {
"The user goes to the analyze tab for the <WebForms>": "The summary view is shown The question panel is shown with list view, without filter icon, without blue chart icon List View should have: List of file names with their extensions and number of records: Each file upload record should show a icon displaying the different extension types: PDF JPG PNG DOC XLS CSV"
}
},
"The summary view is shown The question panel is shown with list view, without filter icon, without blue chart icon List View should have: List of file names with their extensions and number of records: Each file upload record should show a icon displaying the different extension types: PDF JPG PNG DOC XLS CSV": {
on: {
"The user goes to tabular view for the <WebForms>": "Tabular view is shown with the question, Each record should have a file icon according the case: Each file upload record should show a file icon displaying the different extension types: PDF JPG PNG DOC XLS CSV"
}
},
"Tabular view is shown with the question, Each record should have a file icon according the case: Each file upload record should show a file icon displaying the different extension types: PDF JPG PNG DOC XLS CSV": {
on: {
"The user hovers over the file thumbnail": "Show download icon is shown next to the file"
}
},
"Show download icon is shown next to the file": {
on: {
"The user clicks download icon": "End User icon is shown next to the file"
}
},
"End User icon is shown next to the file": {
on: {
"The user edits the web forms in the tabular view C105099": "The record is edited"
}
},
"The record is edited": {
type: "final"
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment