Skip to content

Commit

Permalink
test(visual): toolbar overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ozyx committed Feb 27, 2024
1 parent 7c855f6 commit d6fc6b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions e2e/tests/visual-a11y/displayLayout.visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,14 @@ test.describe('Visual - Display Layout', () => {
await page.getByLabel('Parent Layout Layout', { exact: true }).click();
await percySnapshot(page, `Parent outer layout selected (theme: '${theme}')`);
});

test('Toolbar does not overflow into inspector', async ({ page, theme }) => {
test.info().annotations.push({
type: 'issue',
description: 'https://github.com/nasa/openmct/issues/7036'
});
await page.getByLabel('Expand Inspect Pane').click();
await page.getByLabel('Resize Inspect Pane').dragTo(page.getByLabel('X:'));
await percySnapshot(page, `Toolbar does not overflow into inspector (theme: '${theme}')`);
});
});

0 comments on commit d6fc6b7

Please sign in to comment.