-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): test cases for analytics
- add params test cases for `oaid` and `fed`
- Loading branch information
1 parent
08aeb40
commit 2abf28b
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Feature: Analytics - Initialization | ||
|
||
# `225tvq1i` config can be used | ||
|
||
Scenario: Watching the video from the beginning with SVOD access model (`e` event) | ||
Given Start watching the video "Elephants Dream" | ||
When Watch the video from "00:00 to 00:30" | ||
Then Expect `e`, `s` and `t` events to be sent with `oaid` param | ||
Then Expect `oaid` to equal the id of the client | ||
|
||
Scenario: Watching the video from the beginning, opening it from the Home page | ||
Given Click on "Elephants Dream" card on the Home page | ||
When Watch the video from "00:00 to 00:30" | ||
Then Expect `e`, `s` and `t` events to be sent with `fed` param | ||
Then Expect `fed` to equal the playlist which includes "Elephants Dream" video | ||
|
||
Scenario: Watching the video from the beginning, opening it from the Continue Watching section | ||
Given Click on "Elephants Dream" card on the Home page (Continue Watching section) | ||
When Watch 30 seconds of the video | ||
Then Expect `e`, `s` and `t` events to be sent with `fed` param | ||
Then Expect `fed` to equal `continueWatchingList` id of the app config |