Skip to content

Commit be1719b

Browse files
committed
Debugging
1 parent b63ac2f commit be1719b

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

features/youtube_tracking_integration.feature

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@ Feature: DAP successfully integrates with the YouTube iframe API
88
And DAP is configured for agency "GSA"
99
And DAP is configured with YouTube tracking enabled
1010

11-
Scenario:
11+
Scenario: Attempting to play a private YouTube video sends a video_error event to DAP
1212
When I load the test page "youtube.html"
1313
And I wait for the YouTube iframe API to load
1414
And I wait 5 seconds
1515
And I play YouTube video "zt4t5kOHBig"
1616
And I wait 5 seconds
17-
Then a "video_start" event is sent to DAP with parameters
18-
| video_provider | youtube |
19-
| video_id | LcvYjkCBY28 |
20-
| video_url | https://www.youtube.com/watch?v=LcvYjkCBY28 |
21-
| video_title | Time-lapse of X-59 aircraft (May 2019 - June 2021) |
22-
| video_duration | 57 |
23-
| video_current_time | 0 |
24-
| video_percent | 0 |
17+
Then a "video_error" event is sent to DAP with parameters
18+
| videotitle | |

test_site/youtube.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<body>
1313
<section>
1414
<div class="flex-video widescreen"><iframe title="MedWatch Tips &amp; Tools (January 2016)" height="250"
15-
src="https://www.youtube-nocookie.com/embed/7b-fcRQ2Q7k?mute=1" frameborder="0" width="500"
15+
src="https://www.youtube-nocookie.com/embed/7b-fcRQ2Q7k" frameborder="0" width="500"
1616
allowfullscreen="" alt="MedWatch Tips &amp; Tools (January 2016)"></iframe></div>
1717
<p><iframe title="Time-lapse of X-59 aircraft (May 2019 - June 2021)" width="500" height="250"
1818
src="https://www.youtube.com/embed/LcvYjkCBY28?feature=oembed&mute=1" frameborder="0"

0 commit comments

Comments
 (0)