Skip to content

Commit 7ed96ef

Browse files
Sami Sallménaaltat
authored andcommitted
Add expectations for ${record_video.dir} after calling New Context in acceptance tests
1 parent 821cb8f commit 7ed96ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

atest/test/01_Browser_Management/video.robot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Create Video With Full Path
1414
New Page ${LOGIN_URL}
1515
Go To ${FRAMES_URL}
1616
Verify Video Files 1
17+
Should Be Equal ${record_video.dir} ${OUTPUT_DIR}/video
1718

1819
Create Video With Relative Path
1920
[Documentation]
@@ -28,6 +29,7 @@ Create Video With Relative Path
2829
Wait File Count In Directory ${OUTPUT_DIR}/browser/video/my_video ${1}
2930
Should Start With ${details}[video_path] ${OUTPUT_DIR}${/}browser${/}video${/}my_video
3031
Should End With ${details}[video_path] .webm
32+
Should Be Equal ${record_video.dir} my_video
3133

3234
Create Video With VideoSize
3335
[Documentation]
@@ -38,6 +40,7 @@ Create Video With VideoSize
3840
New Page ${LOGIN_URL}
3941
Go To ${FRAMES_URL}
4042
Verify Video Files ${2}
43+
Should Be Equal ${record_video.dir} ${OUTPUT_DIR}/video
4144

4245
Create Video With Viewport
4346
[Documentation]
@@ -48,6 +51,7 @@ Create Video With Viewport
4851
New Page ${LOGIN_URL}
4952
Go To ${FRAMES_URL}
5053
Verify Video Files ${3}
54+
Should Be Equal ${record_video.dir} ${OUTPUT_DIR}/video
5155

5256
No Video
5357
[Documentation]
@@ -75,6 +79,7 @@ Video Must Be Created When Close Browser Is Called
7579
Go To ${FRAMES_URL}
7680
Close Browser ALL
7781
Wait File Count In Directory ${OUTPUT_DIR}/video ${1}
82+
Should Be Equal ${record_video.dir} ${OUTPUT_DIR}/video
7883

7984
*** Keywords ***
8085
Video Setup

0 commit comments

Comments
 (0)