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 21, 2024
1 parent 6182339 commit 87df960
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@ weight: 1
# BO - Shop Parameters - Contacts - Filter
## Details
* **Component** : Core
* **Status** : Automated
* **Status** : [TEST] To be automated
* **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-1095
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/01_filterContacts.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/configure/shop-paramaters/customers-settings/customer-settings/titles

## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to BO > Shop parameters > Contact > Contact tab | Contacts page is well displayed |
| Filter by id_contact = 2 > Click Search | Number of contacts < total of contacts<br><br>All rows column 'id_contact' contains '2' |
| Click on Reset | Filter is reset<br><br>Number of contacts after reset = total of contacts |
| Filter by name = Customer service | Number of contacts < total of contacts<br><br>All rows column 'name' contains 'Customer service' |
| Filter by Title = Customer service | Number of contacts < total of contacts<br><br>All rows column 'Title' contains 'Customer service' |
| Click on Reset | Filter is reset<br><br>Number of contacts after reset = total of contacts |
| Filter by email = [email protected] | Number of contacts < total of contacts<br><br>All rows column 'email' contains '[email protected]' |
| Click on Reset | Filter is reset<br><br>Number of contacts after reset = total of contacts |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ weight: 4
# BO - Shop Parameters - Contacts - Sort and pagination
## Details
* **Component** : Core
* **Status** : Automated
* **Status** : [TEST] To be automated
* **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-1098
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/01_contacts/04_sortAndPagination.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/configure/shop-paramaters/customers-settings/customer-settings/titles

## Steps
| Step Description | Expected result |
Expand All @@ -24,3 +22,7 @@ weight: 4
| Sort by description asc | List is sorted by description asc<br>(a -> b -> c) |
| Sort by description desc | List is sorted by description desc<br>(c -> b -> a) |
| Sort by id_contact asc | List is sorted by id_contact asc<br>(1 -> 2 -> 3) |
| Create 9 new contacts | Number of contacts > 10 |
| Go to page 2 | Page 2 displayed |
| Change pagination | Only one page displayed with all Contacts |
| Delete all new contact | Number of contact = 2 |
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ weight: 1
# BO - Shop Parameters - Contacts - Stores - Filter, quick edit
## Details
* **Component** : Core
* **Status** : Automated
* **Status** : [TEST] To be automated
* **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-1099
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/13_shopParameters/05_contact/02_stores/01_filterAndQuickEditStores.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/configure/shop-paramaters/contacts/add-or-edit-stores

## Steps
| Step Description | Expected result |
Expand All @@ -25,11 +23,17 @@ weight: 1
| Filter by City = test | Number of stores < total of stores<br><br>All rows column 'City' contains 'test' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter by  Zip/Postal code = 11111 | Number of stores < total of stores<br><br>All rows column 'Zip/Postal code' contains '11111' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter by State : Florida | Number of stores < total of stores<br><br>All rows column 'State' contains 'Florida' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter by County : United States | Number of stores < total of stores<br><br>All rows column 'Country ' contains 'United States' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter by State : Hawaii | Number of stores < total of stores<br><br>All rows column 'State  ' contains 'Hawaii' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter by Phone = +220 23 022 100 | Number of stores < total of stores<br><br>All rows column 'Phone   ' +220 23 022 100' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter by Fax  = 74 500 600 | Number of stores < total of stores<br><br>All rows column  Fax  ' 74 500 600' |
| Click on Reset | Filter is reset<br><br>Number of stores after reset = total of stores |
| Filter list by name with latest name of created store | the store  is displayed in list |
| On the _*Enabled*_ column>Click on icon check to edit the status | the mark check green is changed to red cross and a successful message "_The status has been successfully updated_." is dipalyed |
| On the _*Enabled*_ column>Click on icon check to edit the status | the red cross mark is changed to check green and a successful message "_The status has been successfully updated_." is dipalyed |
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ weight: 3
# BO - Shop Parameters - Customer Settings - Titles - Bulk actions
## Details
* **Component** : Core
* **Status** : Automated
* **Status** : [TEST] To be automated
* **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-1094
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/13_shopParameters/04_customerSettings/03_titles/03_bulkActions.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/configure/shop-paramaters/customers-settings/customer-settings/titles

## Steps
| Step Description | Expected result |
Expand All @@ -19,7 +17,7 @@ weight: 3
| Click on *Bulk actions* button | A drop down menu displays three options :<br> * Select all<br> * Unselect all<br> * Delete selected |
| *Case 1 : Select all option*<br><br>Click on Select all | All checkboxes displayed in Titles page are well checked ! |
| *Case 2 : Unselect all option*<br><br>Click on Unselect all | The selected checkboxes became unselected |
| _*case 3 : Delete selected option with no selected items*_<br><br>Click on *Bulk actions* button > Click on *Delete* selected option > Click *OK* on the modal | Error message is displayed : You must select at least one element to delete. |
| _*case 3 : Select all  and unselect title*_<br><br>Click to select all checkbox and unselect manually all checkbox | Bulk action button is not available |
| *case 3 : Delete selected option with no selected items*<br><br>Click on *Bulk actions* button > Click on *Delete* selected option > Click *Annuler (Cancel)* on the modal | The modal disappears.<br><br>Title page is well displayed |
| *case 4 : Delete selected option with selected items*<br><br>Click on *Bulk actions* button > Click on *Select all* option > Click on *Delete* *selected* option > Click *OK* on the modal | This message is displayed : The selection has been successfully deleted.<br><br>The Titles table is empty<br><br>The Bulk actions button disappears |
| *case 4 : Delete selected option with selected items*<br><br>Click on *Bulk actions* button > Click on *Select all* option > Click on *Delete* *selected* option > Click *Annuler (cancel)* on the modal | The modal disappears<br><br>The Titles table is displayed with the checked Titles |
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ weight: 6

# BO - Shop Parameters - Product Settings - Display notifications
## 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-9807

## Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ weight: 1
# New products block module - Upgrade module
## Details
* **Component** : ps_newproducts
* **Status** : [TEST] Automation in progress
* **Status** : Automated
* **Automated on** : 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-3989
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/modules/ps_newproducts/01_installation/01_upgradeModule.ts

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

0 comments on commit 87df960

Please sign in to comment.