-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DC Milo 0.2438 #810
DC Milo 0.2438 #810
Conversation
Skip failing unit tests
MWPW-158031: Unit tests and block fixes
…ers-verb-widget Implemented redirection for signed in users for verb-widget. Refactor
MWPW-157036: Nonprofit form with api integration
MWPW-158520: Reducing sample rate for CSP
DCXY-25692 log cause.message from wrapped exception, if present
Update Table Integration test baseline images
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve( |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
fs.readFileSync(path.resolve(__dirname, './mocks/widget.html')) | |
), |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
window.location = new URL('https://www.adobe.com'); |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'widget' is assigned a value but never used.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'init' is not defined.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
expect(launcher.getAttribute('src')).toMatch(/^https:\/\/acrobat.adobe.com\//); |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'fetchUrl' is assigned a value but never used.
let fetchUrl = ''; |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all
window.fetch = jest.fn((url) => { |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'jest' is not defined.
window.fetch = jest.fn((url) => { |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
return Promise.resolve({ |
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve( |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve( |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
fs.readFileSync(path.resolve(__dirname, './mocks/widget.html')) | |
), |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
window.location = new URL(`https://${hostname}`); |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'widget' is assigned a value but never used.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'init' is not defined.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
expect(launcher.getAttribute('src')).toMatch(/^https:\/\/stage.acrobat.adobe.com\//); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
expect(launcher.getAttribute('src')).toMatch(/^https:\/\/stage.acrobat.adobe.com\//); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all
window.fetch = jest.fn(() => |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'jest' is not defined.
window.fetch = jest.fn(() => |
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve({ |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve({ |
🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break after this opening brace.
Promise.resolve({ |
🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break before this closing brace.
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
}) | |
); |
🚫 [eslint] <function-paren-newline> reported by reviewdog 🐶
Unexpected newline before ')'.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
window.location = new URL('https://www.adobe.com'); |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'widget' is assigned a value but never used.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'init' is not defined.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
expect(document.querySelector('#CID').children).toHaveLength(3); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all
window.fetch = jest.fn((url) => |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'jest' is not defined.
window.fetch = jest.fn((url) => |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'url' is defined but never used.
window.fetch = jest.fn((url) => |
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve({ |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve({ |
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve( |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve( |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
fs.readFileSync(path.resolve(__dirname, './mocks/widget.html')) | |
), |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
}) | |
); |
🚫 [eslint] <function-paren-newline> reported by reviewdog 🐶
Unexpected newline before ')'.
🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break after this opening brace.
window.adobeIMS = { |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'jest' is not defined.
isSignedInUser: jest.fn(() => true) |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
dc/test/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb.jest.js
Lines 100 to 101 in 5b63036
isSignedInUser: jest.fn(() => true) | |
}; |
🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break before this closing brace.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
window.location = new URL(`https://${hostname}`); |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'widget' is assigned a value but never used.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'init' is not defined.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
expect(window.location).toMatch(/^https:\/\/www.adobe.com\/go\/acrobat-/); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all
window.fetch = jest.fn((url) => |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'jest' is not defined.
window.fetch = jest.fn((url) => |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'url' is defined but never used.
window.fetch = jest.fn((url) => |
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve({ |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve({ |
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve( |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
Promise.resolve( |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
dc/test/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb.jest.js
Lines 120 to 121 in 5b63036
fs.readFileSync(path.resolve(__dirname, './mocks/widget.html')) | |
), |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
dc/test/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb.jest.js
Lines 122 to 123 in 5b63036
}) | |
); |
🚫 [eslint] <function-paren-newline> reported by reviewdog 🐶
Unexpected newline before ')'.
🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break after this opening brace.
window.adobeIMS = { |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'jest' is not defined.
isSignedInUser: jest.fn(() => true) |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
dc/test/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb.jest.js
Lines 125 to 126 in 5b63036
isSignedInUser: jest.fn(() => true) | |
}; |
🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break before this closing brace.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
window.location = new URL(`https://${hostname}`); |
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'widget' is assigned a value but never used.
const widget = await init(block); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'init' is not defined.
const widget = await init(block); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
Lines 14 to 16 in 5b63036
window.location = new URL( | |
'https://www.adobe.com' | |
); |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
Lines 15 to 16 in 5b63036
'https://www.adobe.com' | |
); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
Line 16 in 5b63036
); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'setLibs' is not defined.
Line 17 in 5b63036
const libs = setLibs('/libs'); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
Line 18 in 5b63036
expect(libs).toBe('/libs'); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
Line 19 in 5b63036
expect(getLibs()).toBe('/libs'); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'getLibs' is not defined.
Line 19 in 5b63036
expect(getLibs()).toBe('/libs'); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
Lines 24 to 26 in 5b63036
window.location = new URL( | |
'https://www.stage.adobe.com' | |
); |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
Lines 25 to 26 in 5b63036
'https://www.stage.adobe.com' | |
); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
Line 26 in 5b63036
); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'setLibs' is not defined.
Line 27 in 5b63036
const libs = setLibs('/libs'); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
Line 28 in 5b63036
expect(libs).toBe('https://www.adobe.com/libs'); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
Line 29 in 5b63036
}); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
Lines 33 to 35 in 5b63036
window.location = new URL( | |
'https://www.stage.adobe.com?milolibs=local' | |
); |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
Lines 34 to 35 in 5b63036
'https://www.stage.adobe.com?milolibs=local' | |
); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
Line 35 in 5b63036
); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'setLibs' is not defined.
Line 36 in 5b63036
const libs = setLibs('/libs'); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
Line 37 in 5b63036
expect(libs).toBe('http://localhost:6456/libs'); |
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all
Lines 42 to 44 in 5b63036
window.location = new URL( | |
'https://www.stage.adobe.com?milolibs=main--milo--tsayadobe' | |
); |
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
Lines 43 to 44 in 5b63036
'https://www.stage.adobe.com?milolibs=main--milo--tsayadobe' | |
); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
Line 44 in 5b63036
); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'setLibs' is not defined.
Line 45 in 5b63036
const libs = setLibs('/libs'); |
🚫 [eslint] <no-undef> reported by reviewdog 🐶
'expect' is not defined.
Line 46 in 5b63036
expect(libs).toBe('https://main--milo--tsayadobe.hlx.page/libs'); |
🚫 [eslint] <no-trailing-spaces> reported by reviewdog 🐶
Trailing spaces not allowed.
Line 47 in 5b63036
}); |
) | ||
.then((response) => response.json()) | ||
.then((result) => { | ||
console.log(result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
organizationsStore.update(result.data); | ||
}) | ||
.catch((error) => { | ||
console.log(error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
}) | ||
.then((response) => response.json()) | ||
.then((result) => { | ||
console.log(result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
organizationsStore.update((prev) => [...prev, ...result.data]); | ||
}) | ||
.catch((error) => { | ||
console.log(error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
}) | ||
.then((response) => response.json()) | ||
.then((result) => { | ||
console.log(result); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
@@ -3,9 +3,9 @@ | |||
*/ | |||
import path from 'path'; | |||
import fs from 'fs'; | |||
import init from '../../../acrobat/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb'; | |||
//import init from '../../../acrobat/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <spaced-comment> reported by reviewdog 🐶
Expected exception block, space or tab after '//' in comment.
//import init from '../../../acrobat/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb'; | |
// import init from '../../../acrobat/blocks/dc-converter-widget-ootb/dc-converter-widget-ootb'; |
@@ -131,5 +131,5 @@ | |||
window.dispatchEvent(new CustomEvent('IMS:Ready')); | |||
// Issue with jest and window.location | |||
//expect(window.location).toMatch(/https:\/\/www.adobe.com\/go\/testredirect/); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <spaced-comment> reported by reviewdog 🐶
Expected exception block, space or tab after '//' in comment.
//expect(window.location).toMatch(/https:\/\/www.adobe.com\/go\/testredirect/); | |
// expect(window.location).toMatch(/https:\/\/www.adobe.com\/go\/testredirect/); |
@@ -1,9 +1,9 @@ | |||
/** | |||
* @jest-environment jsdom | |||
*/ | |||
import { setLibs, getLibs } from '../../acrobat/scripts/utils'; | |||
//import { setLibs, getLibs } from '../../acrobat/scripts/utils'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <spaced-comment> reported by reviewdog 🐶
Expected exception block, space or tab after '//' in comment.
//import { setLibs, getLibs } from '../../acrobat/scripts/utils'; | |
// import { setLibs, getLibs } from '../../acrobat/scripts/utils'; |
|
||
describe('Test utils.js', () => { | ||
describe.skip('Test utils.js', () => { | ||
it('tests setLibs', async () => { | ||
const libs = setLibs('/libs'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
describe('Test utils.js', () => { | ||
describe.skip('Test utils.js', () => { | ||
it('tests setLibs', async () => { | ||
const libs = setLibs('/libs'); | ||
expect(libs).toBe('https://main--milo--adobecom.hlx.page/libs'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URLSearchParams is not supported in op_mini all
dc/acrobat/blocks/unity/unity.js
Line 101 in 5b63036
const branch = new URLSearchParams(window.location.search).get('unitylibs') || 'main'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URLSearchParams is not supported in op_mini all
Line 28 in 5b63036
const branch = new URLSearchParams(search).get('milolibs') || 'main'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <comma-dangle> reported by reviewdog 🐶
Missing trailing comma.
'utf8' | |
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'fetchUrl' is assigned a value but never used.
let fetchUrl = ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all
window.fetch = jest.fn((url) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all
return Promise.resolve({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <implicit-arrow-linebreak> reported by reviewdog 🐶
Expected no linebreak before this expression.
Promise.resolve( |
Release Notes: DC Milo 0.2438