Skip to content

Commit a252f81

Browse files
authored
@releng updating af-core (#1699)
* @releng updating af-core * Fixing test case * Fixing test cases * Fixing the test
1 parent 17bdffb commit a252f81

File tree

8 files changed

+24
-24
lines changed

8 files changed

+24
-24
lines changed

ui.frontend/package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui.frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"webpack-merge": "^5.8.0"
2626
},
2727
"dependencies": {
28-
"@aemforms/af-core": "^0.22.144",
28+
"@aemforms/af-core": "^0.22.152",
2929
"@aemforms/af-core-xfa": "^0.1.6",
30-
"@aemforms/af-formatters": "^0.22.144",
30+
"@aemforms/af-formatters": "^0.22.152",
3131
"@aemforms/af-custom-functions": "1.0.17"
3232
}
3333
}

ui.tests/test-module/specs/datepicker/datepicker.runtime.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("Form Runtime with Date Picker", () => {
2727
// enabling theme for this test case as without theme there is a bug in custom widget css
2828
before(() => {
2929
cy.openPage(fmPropertiesUI).then(() => {
30-
cy.get(themeRef).should('be.visible').clear().type('/libs/fd/af/themes/canvas').then(() => {
30+
cy.get(themeRef).invoke('val', '').type('/libs/fd/af/themes/canvas', {force: true}).then(() => {
3131
cy.get(propertiesSaveBtn).click();
3232
})
3333
})

ui.tests/test-module/specs/datepicker/datepicker.runtime.localisation.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe("Form Runtime with Date Picker", () => {
2525
// enabling theme for this test case as without theme there is a bug in custom widget css
2626
before(() => {
2727
cy.openPage(fmPropertiesUI).then(() => {
28-
cy.get(themeRef).should('be.visible').clear().type('/libs/fd/af/themes/canvas').then(() => {
28+
cy.get(themeRef).invoke('val', '').type('/libs/fd/af/themes/canvas', {force: true}).then(() => {
2929
cy.get(propertiesSaveBtn).click();
3030
})
3131
})

ui.tests/test-module/specs/datepicker/datepicker.runtime.persian.locale.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe("Form Runtime with Date Picker", () => {
2525
// enabling theme for this test case as without theme there is a bug in custom widget css
2626
before(() => {
2727
cy.openPage(fmPropertiesUI).then(() => {
28-
cy.get(themeRef).should('be.visible').clear().type('/libs/fd/af/themes/canvas').then(() => {
28+
cy.get(themeRef).invoke('val', '').type('/libs/fd/af/themes/canvas', {force: true}).then(() => {
2929
cy.get(propertiesSaveBtn).click();
3030
})
3131
})

ui.tests/test-module/specs/datepicker/datepicker.runtime.thai.locale.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe("Form Runtime with Date Picker", () => {
2525
// enabling theme for this test case as without theme there is a bug in custom widget css
2626
before(() => {
2727
cy.openPage(fmPropertiesUI).then(() => {
28-
cy.get(themeRef).should('be.visible').clear().type('/libs/fd/af/themes/canvas').then(() => {
28+
cy.get(themeRef).invoke('val', '').type('/libs/fd/af/themes/canvas', {force: true}).then(() => {
2929
cy.get(propertiesSaveBtn).click();
3030
})
3131
})

ui.tests/test-module/specs/datetime/datetime.runtime.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe("Form Runtime with Date Time", () => {
2727
// enabling theme for this test case as without theme there is a bug in custom widget css
2828
before(() => {
2929
cy.openPage(fmPropertiesUI).then(() => {
30-
cy.get(themeRef).should('be.visible').clear().type('/libs/fd/af/themes/canvas').then(() => {
30+
cy.get(themeRef).invoke('val', '').type('/libs/fd/af/themes/canvas', {force: true}).then(() => {
3131
cy.get(propertiesSaveBtn).click();
3232
})
3333
})

ui.tests/test-module/specs/wizard/wizard.runtime.setfocus.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe("wizard with static text", () => {
2424
const themeRef = 'input[name="./jcr:content/metadata/themeRef"]'
2525
const propertiesSaveBtn = '#shell-propertiespage-doneactivator'
2626
cy.openPage(fmPropertiesUI).then(() => {
27-
cy.get(themeRef).should('be.visible').clear().type('/libs/fd/af/themes/canvas').then(() => {
27+
cy.get(themeRef).invoke('val', '').type('/libs/fd/af/themes/canvas', {force: true}).then(() => {
2828
cy.get(propertiesSaveBtn).click();
2929
})
3030
})

0 commit comments

Comments
 (0)