Skip to content

Commit bfada39

Browse files
committed
sample test
1 parent d9dfb5e commit bfada39

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/sampletest.spec.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"tests": [
3+
{
4+
"steps": [
5+
{
6+
"description": "Go to the homepage",
7+
"goTo": "https://doc-detective.com/"
8+
},
9+
{
10+
"description": "Verify the presence of the main heading",
11+
"find": "Doc Detective"
12+
},
13+
{
14+
"description": "Verify that the 'Get Started' link is present and working",
15+
"click": "Get started"
16+
},
17+
{
18+
"description": "Capture a screenshot of the resulting page",
19+
"screenshot": "get_started.png"
20+
}
21+
]
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)