Skip to content

Commit

Permalink
tests: enhance plot-configurator test
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 9, 2024
1 parent ae70e13 commit 3982b21
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions e2e/chart.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ test.describe('Chart', () => {
// Accept remapping and close
await page.getByRole('button', { name: 'Apply Template' }).click();
await page.getByRole('button', { name: 'Save' }).click();

const indicatorPanel = await page.getByLabel('Indicators in this plot');
const options = await indicatorPanel.locator('option').allTextContents();
await expect(options).toContain('bb_lowerband');
await expect(options).toStrictEqual(['bb_upperband', 'bb_lowerband']);

// indicatorPanel.selectOption('bb_lowerband');
// Close Plot configurator
await page.getByRole('button', { name: 'Plot configurator' }).click();

Expand Down

0 comments on commit 3982b21

Please sign in to comment.