E2E\SongListTest::testActionButtons PHP Method

testActionButtons() public method

public testActionButtons ( )
    public function testActionButtons()
    {
        $this->loginAndWait()->repopulateList()->see('#queueWrapper button.btn-shuffle-all')->selectAllSongs()->see('#queueWrapper button.btn-shuffle-selected');
        // Add to favorites
        $this->selectSong();
        $this->click('#queueWrapper .buttons button.btn-add-to');
        $this->click('#queueWrapper .buttons .add-to li.favorites');
        $this->goto('favorites');
        static::assertCount(1, $this->els('#favoritesWrapper tr.song-item'));
        $this->goto('queue')->selectSong();
        // Try adding a song into a new playlist
        $this->createPlaylist('Foo')->seeText('Foo', '#playlists > ul');
    }