mirror of
https://github.com/koel/koel
synced 2024-12-03 17:29:33 +00:00
23 lines
531 B
PHP
23 lines
531 B
PHP
<?php
|
|
|
|
namespace E2E;
|
|
|
|
class PlaylistScreenTest extends TestCase
|
|
{
|
|
use SongListActions;
|
|
|
|
public function testPlaylistScreen()
|
|
{
|
|
$this->loginAndGoTo('songs')
|
|
->selectRange()
|
|
->createPlaylist('Bar')
|
|
->seeText('Bar', '#playlists > ul');
|
|
|
|
$this->click('#sidebar .playlist:nth-last-child(1)');
|
|
$this->see('#playlistWrapper');
|
|
|
|
$this->click('#playlistWrapper .btn-delete-playlist');
|
|
// expect a confirmation
|
|
$this->see('.alertify');
|
|
}
|
|
}
|