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 Dec 24, 2024
1 parent 5356ad5 commit d95d460
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ weight: 2
# BO - International - Localization - Currencies - Create Unofficial Currency
## 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-1000
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/11_international/01_localization/03_currencies/01_createOfficialCurrency.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/improve/international/localization/currencies

## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to International > Localization page | Localization page is displayed<br>title contains : Localization |
| Go to Currencies tab | Currencies page is displayed<br>title contains : Currencies |
| Click on *Add new currency* button | New currency page is displayed with form to  fill<br>title contains 'Currencies ' |
| Fill the form with specified data > Click on *Save* button | Oops... it looks like this ISO code already exists. If you are:<br> * trying to create an alternative currency, you must type a different ISO code<br> * trying to modify the currency with ISO code TMM, make sure you did not check the creation box |
| Fill the form with specified data > Click on *Save* button | Currency is created and displayed in Currencies List<br>"Successful creation" message is displayed<br>number of currencies = total of currencies + 1 |
| Filter by ISO code of currency > click on *Search* button | number of currencies < total of currencies + 1<br>Value in table contains value of created currency<br><br>Search button is disabled<br><br>Reset button is enabled |
| Go to FO and change currency to 'TMN' | No error found<br>All products prices are updated to TMN |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ weight: 3
| Click on the three dots > Click on *Delete* button | A modal is displayed with title : Delete selection<br>Two buttons in the modal : Cancel and Delete |
| Click on *Delete* button in the modal | Message displayed :"Successful deletion"<br>Table Curruncies displays : "No records found" |
| Click on *Reset* button | All available currincies are displayed |
| Click to Update button | Successful update notification |
| Click to "Check the developer documentation for setup instructions" | [https://devdocs.prestashop-project.org/9/faq/pricing/#refresh-exchange-rates]<br><br>Page displayed |
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ weight: 2
| Step Description | Expected result |
| ----- | ----- |
| Go to BO > International > Localization > Languages tab | Page title contains 'Languages' |
| Click on Add new language button | Page title contains 'Add new' |
| Click on Add new language button | Page title contains 'New language' |
| Fill all the fields with Faker data > Save | Message "Successful creation" is displayed<br><br>Number of languages = total of languages + 1 |
| Go to FO > Click on language dropdown | New language exists in list of languages |
| Go back to BO and Filter by Name of created language | Filter is successful, newly created language is displayed |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ weight: 5
# BO - International - Localization - Languages - Quick edit
## Details
* **Component** : Core
* **Status** : Deprecated
* **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-997

## Steps
| Step Description | Expected result |
| ----- | ----- |
| Go to International> Localization> Languages tab | Languages page is displayed |
| Go to Enabled column> disabled the language of ID = 2 | Only English is displayed |
| Go to Enabled column> disabled the language of ID = 1 | You cannot change the status of the default language. |
| Go to Enabled column> disabled the language of ID = 2 | The status has been successfully updated.<br> <br>Only English is displayed |
| Eabled the language of ID = 2 | The status has been successfully updated. |
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ weight: 4
# BO - International - Localization - Languages - Sort
## Details
* **Component** : Core
* **Status** : Automated
* **Status** : [TEST] To be automated
* **Automated on** : 9.0.x
* **Scenario** : https://forge.prestashop.com/browse/TEST-996
* **Test** : https://github.com/PrestaShop/PrestaShop/tree/develop/tests/UI/campaigns/functional/BO/11_international/01_localization/02_languages/04_sortAndPagination.ts
* **Specification** : https://docs.prestashop-project.org/functional-documentation/functional-documentation/ux-ui/back-office/improve/international/localization/languages

## Steps
| Step Description | Expected result |
Expand All @@ -27,4 +25,6 @@ weight: 4
| Sort languages by date_format_lite desc | list is sorted by date_format_lite desc<br>(c -> b -> a) |
| Sort languages by date_format_full asc | list is sorted by date_format_full asc<br>(a -> b -> c) |
| Sort languages by date_format_full desc | list is sorted by date_format_full desc<br>(c -> b -> a) |
| Sort languages by Statut asc | list is sorted by Staut asc<br>(Disabled -> Enabled) |
| Sort languages by Statut desc | list is sorted by Statut desc<br>(Enabled -> Disabled) |
| Sort languages by id_lang asc | list is sorted by id_lang asc <br>(1 -> 2 -> 3) |

0 comments on commit d95d460

Please sign in to comment.