diff --git a/docs/sampletest.spec.json b/docs/sampletest.spec.json new file mode 100644 index 00000000..5513a061 --- /dev/null +++ b/docs/sampletest.spec.json @@ -0,0 +1,24 @@ +{ + "tests": [ + { + "steps": [ + { + "description": "Go to the homepage", + "goTo": "https://doc-detective.com/" + }, + { + "description": "Verify the presence of the main heading", + "find": "Doc Detective" + }, + { + "description": "Verify that the 'Get Started' link is present and working", + "click": "Get started" + }, + { + "description": "Capture a screenshot of the resulting page", + "screenshot": "get_started.png" + } + ] + } + ] +} \ No newline at end of file