Skip to content

Commit

Permalink
[Update] JIRA XRay Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 authored and github-actions[bot] committed Sep 26, 2024
1 parent 75a7625 commit d65866a
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ weight: 1
## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to  Shop Parameters > Général > Enable Multistore > save | * A green alert "Successful update" is displayed |
| Go to Advanced Parameters >Multistore | Multistore page opens with 3 blocks : <br> * Multistore tree <br> * Multistore list <br> * Multistore options |
| Click on " Add new group of stores " | add new  page is displayed |
| Fill the informations  of the new store group >save | * The content is added to STORE GROUP  and to multistore tree<br> * A green alert "Successful creation" is displayed |
| click on edit > change the informations > save | * A green alert "Successful update" is displayed<br> * the content is updated . |
| Click on the dropdown menu >delete | an alert is displayed with : <br><br>Delete selected items<br><br>Name : new_group<br><br>2 buttons : Yes  / No |
| Click on Yes | * A green alert "Successful deletion" is displayed<br> * the shop is well deleted from the multistore tree and from the list  . |
| Go to  Shop Parameters > Général > Enable Multistore > Save | * A green alert "Successful update" is displayed |
| Go to Advanced Parameters > Multistore | Multistore page opens with 3 blocks : <br> * Multistore tree <br> * Multistore list <br> * Multistore options |
| Click on "Add new group of stores" | Add new page is displayed |
| Fill the informations of the new store group > Save | * The content is added to store group and to multistore tree<br> * A green alert "Successful creation" is displayed |
| Click on Edit > Edit the informations > Save | * A green alert "Successful update" is displayed<br> * the content is updated |
| Click on the dropdown menu > Delete | An alert is displayed with : <br><br>Delete selected items<br>Name : new_group<br>2 buttons : Yes / No |
| Click on Yes | * A green alert "Successful deletion" is displayed<br> * the shop is well deleted from the multistore tree and from the list |
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ weight: 2
## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to Advanced Parameters >Multistore | Multistore page opens with 3 blocks : <br> * Multistore tree <br> * Multistore list <br> * Multistore options |
| Click on " Add new store " | add new page is displayed |
| Fill the informations  of the new shop >save | * The content is added to shop list and to multistore tree<br> * A green alert "Successful creation" is displayed |
| click on edit > change the informations > save | * A green alert "Successful update" is displayed<br> * the content is updated . |
| Click on the dropdown menu >delete | an alert is displayed with : <br><br>Delete select items <br><br>Name : new_shop<br><br>2 buttons : Annuler  / ok |
| Click on OK | * A green alert "Successful deletion" is displayed<br> * the shop is well deleted from the multistore tree and from the list  . |
| Go to Advanced Parameters > Multistore | Multistore page opens with 3 blocks : <br> * Multistore tree <br> * Multistore list <br> * Multistore options |
| Click on "Add new store" | Add new page is displayed |
| Fill the informations of the new shop > Save | * The content is added to shop list and to multistore tree<br> * A green alert "Successful creation" is displayed |
| Click on edit > Edit information > Save | * A green alert "Successful update" is displayed<br> * the content is updated |
| Click on the dropdown arrow > Delete | an alert is displayed with : <br><br>Delete select items <br>Name : new_shop<br>Yes / No |
| Click on OK | * A green alert "Successful deletion" is displayed<br> * the shop is well deleted from the multistore tree and from the list |
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ weight: 2

# BO - Shop Parameters - Return statuses - Filter, sort, pagination and bulk actions
## Details
* **Status** : [TEST] To be automated
* **Component** : Core
* **Status** : [TEST] Automation in progress
* **Automated on** : 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-7654

## Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@ weight: 5
# BO - Search - Maximum word length (in characters)
## Details
* **Component** : Core
* **Status** : Sandbox
* **Status** : [TEST] To be automated
* **Scenario** : https://forge.prestashop.com/browse/TEST-9830

## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Minimum word length (in characters) | 3 is displayed |
| Click on View my shop > Search in searchbar "pack" | SEARCH RESULTS<br>There is 1 product.<br><br>Pack Mug + Framed Poster |
| Click on View my shop > Search in searchbar "pac" | SEARCH RESULTS<br>There is 1 product.<br><br>Pack Mug + Framed Poster |
| Click on View my shop > Search in searchbar "pa" | No matches were found for your search |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Minimum word length (in characters) : 5 > Save | The settings have been successfully updated. |
| Click on View my shop > Search in searchbar "noteb" | SEARCH RESULTS<br>There are 3 products.<br><br>Mountain Fox Notebook<br>Brown Bear Notebook<br>Hummingbird Notebook |
| Click on View my shop > Search in searchbar "note" | No matches were found for your search |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) | 15 is displayed |
| Click on View my shop > Search in searchbar "hummingbird shirt" | SEARCH RESULTS<br>There is 1 product. |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) : 2 > Save | The settings have been successfully updated. |
| Refresh the FO | SEARCH RESULTS<br>There are 2 products. |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) : 1 > Save | The settings have been successfully updated. |
| Refresh the FO | SEARCH RESULTS<br>There are 13 products. |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) : 0 > Save | The settings have been successfully updated. |
| Refresh the FO | SEARCH RESULTS<br>There are 19 products. |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) : "" > Save | Tooltips : Veuillez renseigner ce champ. |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) : "vhgfud" > Save | The Maximum word length (in characters) field is invalid. |
| Go to BO > Shop Parameters > Search > Scroll down to block Search - option Maximum word length (in characters) : 15 > Save | The settings have been successfully updated. |
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Autoupgrade - Check/Upgrade/Rollback with the CLI"
weight: 14
---

# Autoupgrade - Check/Upgrade/Rollback with the CLI
## Details
* **Component** : Core
* **Status** : Sandbox
* **Scenario** : https://forge.prestashop.com/browse/TEST-9848

## Steps
| Step Description | Expected result |
| ----- | ----- |
| Install A fresh 8.1.5 | You should have the selection of where in your shop you want to go ( BO or FO ) |
| Go to the BO | You should have your dashboard showed |
| Go to the Module Catalog" page" | Module Catalog page is displayed correctly |
| Search for the 1-click Install" module. Install it" | Module is correctly installed |
| Go to your folder [yourshopname_folder] > module > Autoupgrade | You should have many files and folder, one files named README.md can help you |
| *CLI Check* <br> * Open a terminal on this folder<br> * Launch the command "php bin/console "<br> * Launch the command "php bin/console update:check admin-dev" | * You should be on the folder modules/autoupgrade<br> * The Terminal should show you some available commands, etc <br> * The terminal should say : " Result of prerequisite cheks: [...]" |
| *CLI Upgrade*<br> * Launch the command "touch config.json"<br> * Open the files "config.json" in modules/autoupgrade<br> * Put the information on it and Save it<br> * Return on the terminal and launch the command "php bin/console update:start --config-file-path=config.json admin-dev" | * A new files named "config.json" should be displayed on the files autoupgrade<br> * You should have a file entirely blank <br> * Your file should be completed <br> * Upgrade should be launched |
| *Rollback CLI* <br> * Launch the command "php bin/console backup:restore --backup=[backup-name] admin-dev" | * The rollback should be launched |
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ weight: 8
| Install A fresh 8.0.5 in english | You should have the selection of where in your shop you want to go ( BO or FO ) |
| Go to the BO | You should have your dashboard showed |
| Go to the Module Catalog" page" | Module Catalog page is displayed correctly |
| Search for the 1-click Install" module. Install it" | Module is correctly installed |
| Search for the "update assistant" module. Install it" | Module is correctly installed |
| Go to the General Parameters > Maintenance" page. Put the shop in maintenance mode" | Maintenance page is displayed correctly. Maintenance mode is activated |
| Set your "Maintenance IP" by clicking the button "+ Add my IP" and clic on "Save" button | Your IP should be setted on the field and you will have the green notification |
| Go to the 1-Click Upgrade page | * You should see the configuration page of the module in english <br> * All the checklist should be green |
| Go to the Update assistant page | * You should see the configuration page of the module in english <br> * All the checklist should be green |
| Scroll down and check the "start your uprgrade" part | On the "Latest official version for minor channel." you should have the number "*8 stable - (8.1.x)*" where x is the latest version of 8.1.x release (currently 8.1.7) |
| Look at the Sidebar of Prestashop | You should see an icon with an up arrow instead of a puzzle piece |
| Scroll down until you find "Upgrade options" | You should have only 4 option with subdescription : <br> * Disable non-native modules (enabled)<br> * Disable all overrides (disabled)<br> * Switch to the default theme (disabled)<br> * Keep the customized email templates (disabled) |
| Look at the bottom | You should see the footer with the privacy policy that are a linked with https://www.prestashop-project.org/data-transparency/ |
| * Go to BO > International > Localization <br> * Import the Czech republic language<br> * import the germany language<br> * Import the spainish language<br> * Import the french language<br> * Import the italian language<br> * Import the poland language<br> * Import the russian language | * You should have the localization tab <br> * You should have all the different language imported |
| * Go to your profile<br> * Change the language to Czech republic and clic on save | * You should see your profile on the employee tab <br> * Your employee tab should be in czech |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ weight: 5
# Mail alerts module - Disable/Enable module
## Details
* **Component** : ps_emailalerts
* **Status** : [TEST] Automation in progress
* **Status** : Automated
* **Automated on** : 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-4130
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/modules/ps_emailalerts/01_installation/05_disableEnableModule.ts

## Steps
| Step Description | Expected result |
Expand Down

0 comments on commit d65866a

Please sign in to comment.