Import worship setlists with confirmed song matches and keys
This commit is contained in:
@@ -41,3 +41,11 @@ test('OBS lower third has a transparent background and renders two cues', async
|
||||
expect(await page.evaluate(() => getComputedStyle(document.body).backgroundColor)).toBe('rgba(0, 0, 0, 0)');
|
||||
await expect(page.locator('#searchInput')).toBeHidden();
|
||||
});
|
||||
test('setlist import confirms library matches and retains key tags', async ({ page }) => {
|
||||
await openClassic(page, { populated: true }); await page.evaluate(() => SetlistImport.open());
|
||||
await page.getByLabel('Setlist text', { exact: true }).fill('1. A quiet morning — live studio session [E]');
|
||||
await page.getByRole('button', { name: 'Find matches', exact: true }).click();
|
||||
await expect(page.getByLabel('Match A quiet morning — live studio session', { exact: true })).toHaveValue('preview0000');
|
||||
await page.getByRole('button', { name: 'Create setlist', exact: true }).click();
|
||||
expect(await page.evaluate(() => data.playlists.at(-1).videos[0].tags)).toContain('Key E');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user