Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
15 lines
405 B
JavaScript
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');
|
|
});
|
|
});
|