Skip to content

Commit cee233a

Browse files
committed
logging
1 parent 7ed098c commit cee233a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cypress/integration/IKUpload.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ describe('IKUpload Element', () => {
2525

2626
cy.get('.state-value').invoke('val').then((val) => {
2727
const stateValue = JSON.parse(val);
28+
cy.log(JSON.stringify(stateValue, null, 2));
2829
expect(stateValue.overrideParametersValue.fileNameOnLocalSystem).to.be.eq("sample.jpeg"); // This asserts that the file object was passed to the onOverrideParameters callback
2930
expect(stateValue.uploadedImageSource).contains("sample-folder/overridden-file-name"); // This asserts that onOverrideParameters changed fileName parameter before upload
30-
expect(stateValue.uploadedImageSource).contains("failed"); // Temp to see if assertions are working
3131
});
3232
});
3333

0 commit comments

Comments
 (0)