- Issue created by @murz
An example of the failed pipeline: https://git.drupalcode.org/project/test_helpers/-/jobs/2989772
✖ TypeError
Cannot read properties of null (reading 'cookies')
Error location:
/builds/project/test_helpers/tests/modules/test_helpers_functional/tests/src/Nightwatch/Tests/thDrupalFetchURLTest.js:
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
68 | '/test-helpers-test/json-response-1',
69 | );
70 | assert(response.cookies.some((obj) => obj.name === 'TestCookie2'));
71 | assert(response.cookies.some((obj) => obj.name === 'TestCookie1'));
72 | let browserCookies = await browser.getCookies();
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Stack Trace :
at Test thDrupalFetchURL (/builds/project/test_helpers/tests/modules/test_helpers_functional/tests/src/Nightwatch/Tests/thDrupalFetchURLTest.js:70:21)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:538:9)
at process.processTimers (node:internal/timers:512:7)
FAILED: 1 assertions failed and 13 passed (509ms)
Would be great to fix this.
Active
1.5
Code