Skip to content

Commit

Permalink
Added private vimeo link
Browse files Browse the repository at this point in the history
  • Loading branch information
djamg committed Dec 14, 2023
1 parent eb10a7a commit 722ed0c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tests/e2e/basic/video_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,25 @@ def test_login_add_livestream(
page.get_by_label("Update livestream URLs").click()
page.get_by_label("Livestream URLs. One per line").click()
page.get_by_label("Livestream URLs. One per line").fill(
"https://youtube.com/live/JdHDG6Zudi4?feature=share\nhttps://vimeo.com/828748049?share=copy"
"https://www.youtube.com/watch?v=dQw4w9WgXcQ\nhttps://vimeo.com/336892869\nhttps://player.vimeo.com/video/860038461?h=87fb31038b"
)
page.get_by_role("button", name="Save changes").click()
expect(
page.frame_locator(
"internal:role=tabpanel[name=\"Livestream\"i] >> iframe"
).get_by_role("link", name="Faster, Better, Cheaper -")
).to_be_visible()
).get_by_label("YouTube Video Player")
).to_contain_text("Rick Astley - Never Gonna Give You Up (Official Music Video)")
page.get_by_role("tab", name="Livestream 2").click()
expect(
page.frame_locator(
"internal:role=tabpanel[name=\"Livestream\"i] >> iframe"
).get_by_role("banner")
).to_contain_text("How to do AI right - Workshop Promo")
).to_contain_text("Rick Astley - Never Gonna Give You Up (Video)")
page.get_by_role("tab", name="Livestream 3").click()
expect(
page.frame_locator(
"internal:role=tabpanel[name=\"Livestream\"i] >> iframe"
).get_by_role("banner")
).to_contain_text(
"Practical SLSA for developers and application security professionals"
)

0 comments on commit 722ed0c

Please sign in to comment.