Skip to content

Commit f2b14e7

Browse files
committed
Add charts custom components Hurl workflow
1 parent 97510db commit f2b14e7

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

examples/charts, computations and custom components/test.hurl

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
GET http://localhost:8080/
2+
HTTP 200
3+
[Captures]
4+
start_url: xpath "string(//a[normalize-space()='Start tapping !']/@href)"
5+
[Asserts]
6+
body contains "Tap Tempo is a tool to"
7+
body contains "measure a tempo in bpm"
8+
body contains "About TapTempo"
9+
10+
GET http://localhost:8080/{{start_url}}
11+
HTTP 200
12+
[Captures]
13+
tap_url: xpath "string(//a[normalize-space()='Tap']/@href)"
14+
[Asserts]
15+
body contains "Tap"
16+
body contains "BPM over time"
17+
18+
GET http://localhost:8080/{{tap_url}}
19+
HTTP 200
20+
[Asserts]
21+
body contains " bpm"
22+
body contains "BPM over time"

0 commit comments

Comments
 (0)