Skip to content

Commit 12af900

Browse files
committed
Test for node group subtitle tracking
1 parent 9639674 commit 12af900

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Tests/TestCases/VisitTracking.testplan

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ line: `entered Track`
77
line: `entered NodeGroupImplicitTrack`
88
line: `entered NodeGroupNoTrack`
99
line: `entered NodeGroupTrack`
10+
line: `entered NodeGroupWithSubtitle.ABC123`
1011

1112
line: `entered End`
1213

@@ -17,5 +18,6 @@ line: `did we visit Track? True!`
1718
line: `did we visit NodeGroupImplicitTrack? True!`
1819
line: `did we visit NodeGroupNoTrack? False!`
1920
line: `did we visit NodeGroupTrack? True!`
21+
line: `did we visit NodeGroupWithSubtitle.ABC123? True!`
2022

2123
line: `done`

Tests/TestCases/VisitTracking.yarn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ beginning
99
<<detour NodeGroupImplicitTrack>>
1010
<<detour NodeGroupNoTrack>>
1111
<<detour NodeGroupTrack>>
12+
<<detour NodeGroupWithSubtitle>>
1213

1314
entered End
1415

@@ -18,6 +19,7 @@ did we visit Track? {visited("Trac" + "k")}!
1819
did we visit NodeGroupImplicitTrack? {visited("NodeGroupImplicitTrack")}!
1920
did we visit NodeGroupNoTrack? {visited("NodeGroupNoTrack")}!
2021
did we visit NodeGroupTrack? {visited("NodeGroupTrac" + "k")}!
22+
did we visit NodeGroupWithSubtitle.ABC123? {visited("NodeGroupWithSubtitle.ABC123")}!
2123

2224
done
2325
===
@@ -56,3 +58,9 @@ tracking: never
5658
---
5759
entered NodeGroupNoTrack
5860
===
61+
title: NodeGroupWithSubtitle
62+
when: always
63+
subtitle: ABC123
64+
---
65+
entered NodeGroupWithSubtitle.ABC123
66+
===

0 commit comments

Comments
 (0)