-
Notifications
You must be signed in to change notification settings - Fork 9
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
Added a new feature to toggle between technical names and display names in the XDM Object #446
Conversation
There are 7 failing tests, all around update variable. On other PRs, 5 are failing, meaning 2 are unique to your changes. Here are the tests that are newly failing.
|
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.
The code looks good. Let's do another demo in standup.
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.
Resolve the two new failing tests and we are golden.
-
× XDM Object Display Names - toggles between display names and field IDs
1) AssertionError: expected undefined to be truthy Browser: Chrome 129.0.0.0 / Windows 11 30 | await schemaField.selectMenuOption("XDM Object Data Element Tests"); 31 | await xdmTree.node("_unifiedjsqeonly").toggleExpansion(); 32 | await xdmTree.node("vendor").toggleExpansion(); 33 | 34 | // Initially should show field IDs (default) > 35 | await t.expect(xdmTree.node("name").exists).ok(); 36 | 37 | // Toggle to show display names 38 | await xdmTree.enableDisplayNames(); 39 | await t.expect(xdmTree.node("Name").exists).ok(); 40 | at (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/specs/view/dataElements/xdmObjectDisplayNames.spec.mjs:35:47) at asyncGeneratorStep (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/specs/view/dataElements/xdmObjectDisplayNames.spec.mjs:1:68) at _next (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/specs/view/dataElements/xdmObjectDisplayNames.spec.mjs:1:317)
-
× XDM Object Editing - allows user to provide individual array items
1) The specified selector does not match any element in the DOM tree. > | Selector('[data-test-id='xdmTree']') | .find('[data-test-id='xdmTreeNodeTitleDisplayName']') | .withText(/^implementationDetails$|^implementationdetails$/i) | .parent('[data-test-id='xdmTreeNodeTitle']') | .nth(0) | .parent('.ant-tree-treenode') | .nth(0) | .find('.ant-tree-switcher') Browser: Chrome 129.0.0.0 / Windows 11 54 | return { 55 | click: async () => { 56 | await t.click(node); 57 | }, 58 | toggleExpansion: async () => { > 59 | await t.click(expansionToggle); 60 | // wait for animation to finish 61 | await t.wait(100); 62 | }, 63 | expectInViewport: async () => { 64 | const isElementInViewport = await getIsElementInViewport(node); at Object. (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/helpers/objectEditor/xdmTree.mjs:59:17) at asyncGeneratorStep (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/helpers/objectEditor/xdmTree.mjs:1:68) at _next (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/helpers/objectEditor/xdmTree.mjs:1:317) at (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/helpers/objectEditor/xdmTree.mjs:1:448) at Object. (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/helpers/objectEditor/xdmTree.mjs:1:247) at Object.toggleExpansion [as toggleExpansion] (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/helpers/objectEditor/xdmTree.mjs:62:58) at (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/specs/view/dataElements/xdmObjectEditing.spec.mjs:37:49) at asyncGeneratorStep (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/specs/view/dataElements/xdmObjectEditing.spec.mjs:1:68) at _next (file:///D:/sauce-testcafe-runner/3.10.0/bundle/__project__/test/functional/specs/view/dataElements/xdmObjectEditing.spec.mjs:1:317)
Fixed the failing test issue. Can you please try running it again and see if you're seeing any failures. |
…es in the XDM Object (#446) * Toggle between technical names and display names in the XDM Object. * Rename display name toggle helper and update test.
Description
Related Issue
Motivation and Context
Screenshots (if appropriate):
Types of changes
Checklist: