MCPcopy Create free account
hub / github.com/Rello/analytics / activeNavigation

Function activeNavigation

tests/playwright/49_table_preview.js:124–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 assert.equal(headerButtonStyles[0].outline, 'solid');
123 assert.notEqual(headerButtonStyles[0].radius, '0px');
124 const activeNavigation = () => page.locator('.analyticsEnhancedDialogNavButton--active').innerText();
125 assert.equal(await activeNavigation(), 'Layout');
126 assert.equal(await page.getByRole('link', {name: 'Layout', exact: true}).evaluate(link =>
127 getComputedStyle(link.querySelector('.analyticsEnhancedDialogNavLabel'), '::after').height), '2px');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected