Skip to content

Commit 7400270

Browse files
committed
update
1 parent 3dad8ff commit 7400270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/paths/backend/system/config/catalog/configswatches.cy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe(`Checks admin system "${route.h3}" settings`, () => {
2525
});
2626

2727
it(`tests non-digit dimensions`, () => {
28-
const value = validation.assert.float;
28+
const value = cy.openmage.validation.assert.float;
2929

3030
Object.keys(validate.dimension._input).forEach(section => {
3131
const group = validate.dimension._input[section];
@@ -73,7 +73,7 @@ describe(`Checks admin system "${route.h3}" settings`, () => {
7373
cy.adminSaveConfiguration();
7474

7575
cy.log('Checking for error messages');
76-
const error = validation.requiredEntry.error;
76+
const error = cy.openmage.validation.requiredEntry.error;
7777
cy.get('#advice-required-entry-configswatches_product_detail_dimensions_height').should('include.text', error);
7878
cy.get('#advice-required-entry-configswatches_product_detail_dimensions_width').should('include.text', error);
7979
cy.get('#advice-required-entry-configswatches_product_listing_dimensions_height').should('include.text', error);

0 commit comments

Comments
 (0)