docbrown/cypress/e2e/seededFlows/podcastFlows/togglePodcastPlayback.spec.js
dependabot[bot] deb86efb0d
Bump cypress and @knapsack-pro/cypress (#18025)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2022-07-06 17:53:13 -04:00

15 lines
405 B
JavaScript

describe('Toggle Podcast playback', () => {
beforeEach(() => {
cy.testSetup();
});
xit('should toggle podcast playback', () => {
// Can't get the first part working
cy.get('@toggleButton')
.invoke('attr', 'aria-pressed')
.should('eq', 'false');
cy.get('@toggleButton').click();
cy.get('@toggleButton').invoke('attr', 'aria-pressed').should('eq', 'true');
});
});