"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AudioPlayerPage = void 0;
class AudioPlayerPage {
    constructor(mountResult, nth = 0) {
        this.mountResult = mountResult;
        this.baseLocator = this.mountResult.getByTestId('audio-player-container').nth(nth);
        this.playButton = this.baseLocator.getByRole('button', { name: 'Toista äänite' });
        this.pauseButton = this.baseLocator.getByRole('button', { name: 'Keskeytä äänite' });
        this.progressBar = this.baseLocator.getByTestId('audio-player-progress-bar');
        this.currentTimeDisplay = this.baseLocator.getByTestId('audio-player-current-time');
        this.durationDisplay = this.baseLocator.getByTestId('audio-player-duration');
    }
}
exports.AudioPlayerPage = AudioPlayerPage;
//# sourceMappingURL=AudioPlayer.page.js.map