forked from microsoft/ALAppExtensions
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Shopify] - Different Shipping Charges Types Tests #7
Open
GediminasGaubys
wants to merge
22
commits into
main
Choose a base branch
from
dev/gga/shippingChargesTests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request does not have a related issue as it's part of delivery for development agreed directly with @AndreiPanko Fixes microsoft#26819 ### Existing metafield engine applied to integrate Customer and Company metafields Changes done to apply the engine: - Extended `ShpfyGQLCompany.Codeunit.al` and `ShpfyGQLCustomer.Codeunit.al` GQL query to get metafields with required properties in response. Removed the namespace from query to retreive all metafields. - Created 2 new GraphQL queries `Shpfy GQL CustomerMetafieldIds` and `Shpfy GQL CompanyMetafieldIds` to make `RetrieveMetafieldsFromShopify` function work with Company and Customer. - Created 2 new IMetafield Owner Type implementation codeunits for Company and Customer - Added values to related interface enums - Added UpdateMetafield functions in API codeunits to update metafields if there are metafields in response - Removed old not working code to update metafields - Add Metafields actions to Company/Customer list and card pages. - Add owner type Company to `GetOwnerType` procedure in `Shpfy Metafield` table - Changed parameters in `CollectMetafieldIds` local procedure in `Shpfy Metafield API` codeunit to support all Ownet types in function Fixes [AB#556298](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556298) --------- Co-authored-by: Piotr Michalak <[email protected]>
This pull request does not have a related issue as it's part of delivery for development agreed directly with @AndreiPanko Fixes microsoft#26819 ### Add Item As Variant Test Automated tests for changes microsoft#26712 Fixes [AB#555979](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/555979) --------- Co-authored-by: Piotr Michalak <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to contributing to AlAppExtensions please read our pull request guideline below * https://github.com/microsoft/ALAppExtensions/blob/main/CONTRIBUTING.md --> #### Summary <!-- Provide a general summary of your changes --> When users try to synchronize prices through the action available on Shopify Catalogs page. Only the 100 first prices are synchronized. So if the Shopify Catalog contains more than 100 product, only 100 of them will be updated. This problem results from a difference between two GraphQL requests made during this process: 1) codeunit 30296 "Shpfy GQL CatalogPrices" '{"query": "query { catalog(id: "gid://shopify/Catalog/{{CatalogId}}") { id priceList {id currency prices(first:100) {edges {cursor node {variant {id product {id}} price {amount} compareAtPrice {amount}}} pageInfo {hasNextPage}}}}}"}' 2) codeunit 30297 "Shpfy GQL NextCatalogPrices" '{"query": "query { catalog(id: "gid://shopify/Catalog/{{CatalogId}}") { id priceList {id prices(first:100, after:"{{After}}") {edges {cursor node {variant {id} price {amount} compareAtPrice {amount}}} pageInfo {hasNextPage}}}}}"}' Some necessary nodes are missing in NextCatalogPrices. Here is a fixed request : '{"query": "query { catalog(id: "gid://shopify/Catalog/{{CatalogId}}") { id priceList {id currency prices(first:100, after:"{{After}}") {edges {cursor node {variant {id product {id}} price {amount} compareAtPrice {amount}}} pageInfo {hasNextPage}}}}}"}' #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes microsoft#27535 Fixes [AB#556528](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556528)
This pull request does not have a related issue as it's part of delivery for development agreed directly with @AndreiPanko Fixes microsoft#26819 Add Item As Variant Test Automated tests for changes microsoft#26728 Fixes [AB#556527](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556527) --------- Co-authored-by: Piotr Michalak <[email protected]>
…icrosoft#27570) This pull request does not have a related issue as it's part of delivery for development agreed directly with @AndreiPanko Add Item As Variant Test Automated tests for changes microsoft#26748 Fixes microsoft#26819 Fixes [AB#556529](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556529) --------- Co-authored-by: Jesper Schulz-Wedde <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to contributing to AlAppExtensions please read our pull request guideline below * https://github.com/microsoft/ALAppExtensions/blob/main/CONTRIBUTING.md --> #### Summary <!-- Provide a general summary of your changes --> Reenable tests by uninstalling apps that aren't supported in W1 before we start running tests. This will ensure tests don't accidently trigger e.g. event subscribers from apps that aren't supported in W1 anyway. Right now we are building, publishing and testing apps on top of a W1 Base App even though some of them aren't supported in W1. We'll continue to compile the apps. We just won't have them installed when running tests. With this change, tests are working again: https://github.com/microsoft/ALAppExtensions/actions/runs/11664233820 Another way we could solve this from AL-Go would could define anti patterns for app/test folders. In that case we would have the following in the AL-Go settings `testFolders: [ Apps/W1/*/app/, !Apps/W1/INTaxEngine/app ] ` #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#556300](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556300)
…t#27527) <!-- Thank you for submitting a Pull Request. If you're new to contributing to AlAppExtensions please read our pull request guideline below * https://github.com/microsoft/ALAppExtensions/blob/main/CONTRIBUTING.md --> #### Summary: Initial upload of the Dynamics SL Historical Data extension #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes microsoft#27620 Fixes [AB#556923](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556923)
<!-- Thank you for submitting a Pull Request. If you're new to contributing to AlAppExtensions please read our pull request guideline below * https://github.com/microsoft/ALAppExtensions/blob/main/CONTRIBUTING.md --> #### Summary <!-- Provide a general summary of your changes --> #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes # Co-authored-by: magnushar <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to contributing to AlAppExtensions please read our pull request guideline below * https://github.com/microsoft/ALAppExtensions/blob/main/CONTRIBUTING.md --> #### Summary <!-- Provide a general summary of your changes --> #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes # Co-authored-by: magnushar <[email protected]>
Co-authored-by: Magnus Hartvig Grønbech <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request does not have a related issue as it's part of the delivery for development agreed directly with @AndreiPanko
Different shipping charges types Tests
Automated tests for changes microsoft#26708