Skip to content
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

Add Specs for Scenario #365

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/src/App/Command/AbstractCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ protected function getTestContent(array $test, array $steps): string
if (!empty($issue['fields']['customfield_12692'])) {
$content .= '* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/'. $issue['fields']['customfield_12692'] . '.ts' . PHP_EOL;
}
if (!empty($issue['fields']['customfield_12893'])) {
$content .= '* **Specification** : ' . $issue['fields']['customfield_12893'] . PHP_EOL;
}
$content .= PHP_EOL;

## Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ weight: 1
* **Automated on** : 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-1141
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/14_advancedParameters/03_administration/01_general.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/configure/advanced-parameters/administration

## Steps
| Step Description | Expected result |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 6
# BO - Catalog - Stocks - Display products below low stocks level first
## Details
* **Component** : Core
* **Status** : [TEST] To be automated
* **Status** : [TEST] Automation in progress
* **Scenario** : https://forge.prestashop.com/browse/TEST-843

## Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 7
# BO - Catalog - Stocks - Filter Stocks by Categories
## Details
* **Component** : Core
* **Status** : [TEST] To be automated
* **Status** : [TEST] Automation in progress
* **Scenario** : https://forge.prestashop.com/browse/TEST-844

## Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 3
# BO - Catalog - Stocks - Update Quantity by setting input
## Details
* **Component** : Core
* **Status** : [TEST] To be automated
* **Status** : [TEST] Automation in progress
* **Automated on** : 1.7.8.x, 1.7.7.x, 8.0.x, 8.1.x, 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-840

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ weight: 1
## Steps
| Step Description | Expected result |
| ----- | ----- |
| On FO > Product page<br><br>click to quick view of a product | quickview displayed |
| Click to Add to cart | "Product successfully added to your shopping cart" notificaiton |
| On FO > Click quick view of a product | Quickview is well displayed |
| Click to Add to cart | "Product successfully added to your shopping cart" modal |
| Click to proceed to checkout | Shopping cart displayed<br><br>Shopping cart contain the product |
| Click to proceed to checkout | Personal information is displayed<br><br>You've the your cart on the right |
| Click on Sign in, fill the input and click to continue | Adressess page displayed |
| Click to proceed to checkout | Personal information is displayed<br><br>You have your cart on the right |
| Click on Sign in > Click on Continue to shipping | Addresses page displayed |
| Click to continue | SHIPPING METHOD displayed |
| Click to continue | PAYMENT displayed |
| Click on Pay by bank wire | Please transfer the invoice amount to our bank account. You will receive our order confirmation by email containing bank details and order number. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ weight: 1
# FO - Checkout - Shipping method - Add order message
## Details
* **Component** : Core
* **Status** : Sandbox
* **Status** : [TEST] To be automated
* **Automated on** : 8.1.x, 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-7024

## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to FO > Log into your customer account | You are logged in |
| Add a product to the cart > Proceed to checkout > Proceed to checkout  > Add an address > Continue | Step 3 - Shipping method is displayed |
| Add a comment about your order > Continue | Step 4 - Payment is displayed |
| Click on edit button of Step 3 - Shipping method > Select another carrier & edit message > Continue | Step 4 - Payment is displayed |
| Add a product to the cart > Proceed to checkout > Proceed to checkout  > Choose an address > Continue to Shipping | Step 3 - Shipping method is displayed |
| Add a comment about your order > Continue to Payment | Step 4 - Payment is displayed |
| Click on Step 3 Shipping method on the progress bar > Select another carrier & edit message > Continue to Payment | Step 4 - Payment is displayed |
| Click on edit button of Step 3 - Shipping method | See that the message is well saved and has not changed |
| Continue > Choose a payment method > Agree to terms and conditions > Place order | YOUR ORDER IS CONFIRMED |
| Click on your account in top-right corner > Order history and details > Details > Scroll down to block Messages | See your message is displayed correctly |
| Continue > Choose a payment method > Agree to terms and conditions > Place order | Your order is confirmed |
| Click on your customer account in top-right corner > Your account > Order history and details > Click Details on the last order > Scroll down to block Messages | See your message is displayed correctly |
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 2
# FO - Checkout - Shipping method - Select a carrier
## Details
* **Component** : Core
* **Status** : Sandbox
* **Status** : [TEST] To be automated
* **Automated on** : 8.1.x, 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-7025

Expand All @@ -15,8 +15,8 @@ weight: 2
| ----- | ----- |
| Go to FO > Log into your customer account | You are now logged in |
| Click on a product > Add to cart > Proceed to checkout > Proceed to checkout | Step 2 of checkout process is displayed : Addresses |
| Choose My address (Address in the US) > Continue | Step 3 - Shipping method is displayed.<br><br>Only My _carrier_ is displayed with :<br> * a logo<br> * a name<br> * a delay<br> * the price of shipping |
| Click on Continue | Step 4 is displayed with alert : Unfortunately, there is no payment method available.<br><br>You can't proceed to checkout |
| Click the Edit button on Step 2 - Addresses > Choose "Mon adresse" is checked (address in France) > Continue | Step 3 - Shipping method is displayed.<br><br>_Click and collect_ and _My carrier_ are displayed with :<br> * a logo<br> * a name<br> * a delay<br> * the price of shipping |
| Choose Click and collect > Continue | Step 4 - Payment is displayed |
| Choose Payment by bank wire > Agree to the terms and conditions > Place order | YOUR ORDER IS CONFIRMED |
| Choose My address (Address in the US) > Continue to Shipping | Step 3 - Shipping method is displayed.<br><br>Only My _carrier_ is displayed with :<br> * a logo<br> * a name<br> * a delay<br> * the price of shipping |
| Click on Continue to Payment | Step 4 is displayed with alert : Unfortunately, there is no payment method available.<br><br>You can't proceed to checkout, place order is greyed out |
| Click on Addresses in the progress bar > Choose "Mon adresse" is checked (address in France) > Continue to Shipping | Step 3 - Shipping method is displayed.<br><br>_Click and collect_ and _My carrier_ are displayed with :<br> * a logo<br> * a name<br> * a delay<br> * the price of shipping |
| Choose Click and collect > Continue to payment | Step 4 - Payment is displayed |
| Choose Payment by bank wire > Agree to the terms and conditions > Place order | Your order is confirmed |
Loading