Update addon-viewport test to navigate to the correct story path for globals instead of parameters

This commit is contained in:
Norbert de Langen 2025-03-18 11:58:14 +01:00
parent 353fd6438a
commit c49c67636e

View File

@ -46,7 +46,7 @@ test.describe('addon-viewport', () => {
const sbPage = new SbPage(page, expect); const sbPage = new SbPage(page, expect);
// Story parameters/selected is set to small mobile // Story parameters/selected is set to small mobile
await sbPage.navigateToStory('addons/viewport/parameters', 'selected'); await sbPage.navigateToStory('addons/viewport/globals', 'selected');
// Measure the original dimensions of previewRoot // Measure the original dimensions of previewRoot
const originalDimensions = await sbPage.getCanvasBodyElement().boundingBox(); const originalDimensions = await sbPage.getCanvasBodyElement().boundingBox();