Skip to content

Commit

Permalink
fix(e2e-tests): fixing hd video player test (#1484)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfoxx1906 authored Jun 20, 2023
1 parent 837f79c commit 42a9eb8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/support/mediaSettingsTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,17 @@ export function runQualityMenuTests() {
.contains('Auto')
.click();

cy.get('[role="menuitem"]').contains('Quality');

cy.getByTestId('bp-settings-flyout')
.contains('1080p')
.click();

cy.getByTestId('bp-media-controls-hd').should('be.visible');

cy.get('[role="menuitem"]').contains('Quality');
cy.getByTestId('bp-media-settings-quality')
.contains('1080p')
.click();

cy.getByTestId('bp-settings-flyout')
.contains('480p')
Expand Down

0 comments on commit 42a9eb8

Please sign in to comment.