Skip to content

add new tests#1

Open
philipp-sapronov wants to merge 49 commits into
mainfrom
phl/node-services-inventory-media
Open

add new tests#1
philipp-sapronov wants to merge 49 commits into
mainfrom
phl/node-services-inventory-media

Conversation

@philipp-sapronov

Copy link
Copy Markdown
Member

No description provided.

…nglish, remove unused cart-related types, and implement order creation mutation.
…ate test step descriptions for clarity, and remove unnecessary comments in test files.
…ag, product, and customer creation; remove unused feature group seeding logic.
…ility of category, tag, product, customer, and review creation steps.
- Implemented the CheckoutPaymentMethodUpdate mutation in GraphQL to allow updating the payment method for a checkout.
- Updated schema-client.graphql to include new types for payment methods and constraints.
- Enhanced the checkout API tests to cover payment method constraints, selection, and persistence.
- Added tests for verifying payment method availability, selection, and payable amount calculations when items are added or modified in the checkout.
- Ensured that payment data is correctly read and updated across different operations and scenarios.
- Added installation of multiple apps during session setup in SessionFixture.
- Updated checkout tests to remove redundant app installation steps, improving clarity and efficiency.
- Ensured consistent client setup across various checkout tests.
- Added new GraphQL mutations for managing delivery recipients: `checkoutDeliveryRecipientsAdd`, `checkoutDeliveryRecipientsUpdate`, and `checkoutDeliveryRecipientsRemove`.
- Updated schema-client.graphql to include types and inputs for delivery recipients.
- Enhanced existing queries to include recipient details in checkout operations.
- Updated tests to cover adding, updating, and removing delivery recipients, ensuring proper integration with the checkout process.
- Refactored related tests to validate recipient data handling and ensure consistency across delivery groups.
- Introduced a new seed configuration file (`seed-config.yml`) to manage project settings.
- Created a TypeScript file (`seedConfig.ts`) for writing seed configurations.
- Added multiple image files to the seed data for enhanced project initialization.
- Updated `package.json` and `yarn.lock` to reflect new dependencies and configurations.
- Improved logging in `seed-project.ts` for better visibility during the seeding process.
- Updated `seed-config.yml` with new email, slug, and API key for project initialization.
- Enhanced `seed-project.ts` to load seed data from specified directories, allowing for better organization of categories, tags, products, and review templates.
- Introduced new JSON files for boxing categories, products, and tags, enriching the seed data.
- Improved image upload functionality to recursively find images in the specified directory.
- Updated tests to reflect changes in the seeding process, ensuring proper initialization of boxing data before main JSON data.
- Updated `seed-config.yml` with a new email, slug, and API key for project initialization.
- Added new product design options in `gift-box.json` to enhance the variety of available gift box designs.
- Updated GraphQL schema to replace `CheckoutLineInput` with `CheckoutLineAddInput` and introduced `CheckoutLineReplaceInput` for better line management.
- Added new mutation `checkoutLinesReplace` to facilitate replacing quantities between checkout lines.
- Introduced `Variant` class and corresponding GraphQL query to fetch product variants by handle.
- Updated client API fixture to include variant management.
- Refactored tests to utilize the new variant queries and ensure proper functionality of checkout line operations.
- Refactored test cases in `checkout-lines-replace.spec.ts` to align with the new `CheckoutLineReplaceInput` structure, replacing `lineIdFrom` and `lineIdTo` with `lineId` and `purchasableId` for better clarity and consistency in line management.
- Updated `seed-config.yml` with a new email, slug, and API key for project initialization.
- Modified `gift-box.json` to improve the product description and added a new structure for selecting gift box designs, enhancing the variety of available options.
- Updated `.gitignore` to include Yarn-related files while excluding unnecessary ones.
- Enhanced `schema-admin.graphql` by adding `domain` field to `InstalledApp` type and introducing `DROPDOWN_VARIANT_COVER` to `FeatureStyleType` enum.
- Modified `schema-client.graphql` to replace `lineIdFrom` and `lineIdTo` with `lineId` and `purchasableId` in `CheckoutLineReplaceInput`, improving clarity in line management.
- Added `orderMutation` to the `Mutation` type for better order management.
- Updated `codegen` files to reflect changes in the GraphQL schema, ensuring consistency across the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant