[SPIKE] Move Nunjucks macro parameter tables into page content #4644
Annotations
5 errors
Component page › "Nunjucks" tab content should contain a details summary with "Nunjucks macro options" text:
__tests__/component-options.test.js#L41
expect(received).toContain(expected) // indexOf
Expected value: "Nunjucks macro options"
Received array: []
at Object.toContain (__tests__/component-options.test.js:41:33)
|
Component page › "Nunjucks" tab content should contain a details element that has a table with "Name":
evaluate at Object.<anonymous> (/home/runner/work/govuk-design-system/govuk-design-system/__tests__/component-options.test.js:34:46)#L1
TypeError: Cannot read properties of null (reading 'querySelectorAll')
at evaluate (evaluate at Object.<anonymous> (__tests__/component-options.test.js:34:46), <anonymous>:0:115)
at ExecutionContext.#evaluate (node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:449:34)
at ExecutionContext.evaluate (node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:292:12)
at IsolatedWorld.evaluate (node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:194:12)
at CdpFrame.evaluate (node_modules/puppeteer-core/src/api/Frame.ts:484:12)
at CdpPage.evaluate (node_modules/puppeteer-core/src/api/Page.ts:2218:12)
at Object.<anonymous> (__tests__/component-options.test.js:58:35)
|
Component page › macro options should be opened and in view when linked to:
__tests__/component-options.test.js#L76
thrown: "Exceeded timeout of 15000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at it (__tests__/component-options.test.js:76:3)
at Object.describe (__tests__/component-options.test.js:3:1)
|
Component page › macro options subtable should be opened and in view when linked to:
__tests__/component-options.test.js#L87
thrown: "Exceeded timeout of 15000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at it (__tests__/component-options.test.js:87:3)
at Object.describe (__tests__/component-options.test.js:3:1)
|
JavaScript tests
Process completed with exit code 1.
|