Skip to content

Commit

Permalink
Fix assertions for Dailymotion and Ted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Blanco Estévez committed Aug 21, 2018
1 parent 03ce11a commit 2052810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/Dailymotion.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature: Dailymotion service provider
Scenario: Get the thumbnail of the Dailymotion video
Given The url http://www.dailymotion.com/visited-week/lang/es/video/x7u5kn_parkour-dayyy_sport
When I get the thumbnail
Then The result should be "http://s1.dmcdn.net/resw/x240-_VO.jpg"
Then The result should be like "@http(s)?://s[0-9]+-ssl.dmcdn.net/resw/x240-_VO.jpg@"

Scenario: Get the embed HTML of the Dailymotion video
Given The url http://www.dailymotion.com/visited-week/lang/es/video/x7u5kn_parkour-dayyy_sport
Expand Down
2 changes: 1 addition & 1 deletion features/Ted.feature
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Feature: Ted service provider
Scenario: Get the thumbnail of the Ted video
Given The url http://www.ted.com/talks/benjamin_wallace_on_the_price_of_happiness.html
When I get the thumbnail
Then The result should be like "@https://pe.tedcdn.com/images/ted/\S*\.jpg@"
Then The result should be like "@https://pi.tedcdn.com/r/pe.tedcdn.com/images/ted/\S*\.jpg@"

Scenario: Get the embed url of the Ted video
Given The url http://www.ted.com/talks/benjamin_wallace_on_the_price_of_happiness.html
Expand Down

0 comments on commit 2052810

Please sign in to comment.