Skip to content

Commit

Permalink
Merge pull request #783 from nesrineabdmouleh/upgrade175to17811
Browse files Browse the repository at this point in the history
UI tests - Add PS versions from 1.7.5.0 ~ 1.7.5.2 to 1.7.8.11 and 8.2.0 on PHP 7.1 ~ 7.2
  • Loading branch information
Progi1984 authored Oct 29, 2024
2 parents 70547f8 + c2cd7f6 commit e1665c9
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 6 deletions.
38 changes: 37 additions & 1 deletion .github/workflows/ui-test/nightly.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
{
"include": [
{
"comment": "1.7.5.0 ~ 1.7.5.2 -> 1.7.8.11 PHP 7.1"
},
{
"PS_VERSION_START": "1.7.5.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1"
},
{
"PS_VERSION_START": "1.7.5.1",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1"
},
{
"PS_VERSION_START": "1.7.5.2",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1"
},
{
"comment": "1.7.5.0 ~ 1.7.5.2 -> 8.2.0 PHP 7.2"
},
{
"PS_VERSION_START": "1.7.5.0",
"PS_VERSION_END": "8.2.0",
"PHP_VERSION": "7.2"
},
{
"PS_VERSION_START": "1.7.5.1",
"PS_VERSION_END": "8.2.0",
"PHP_VERSION": "7.2"
},
{
"PS_VERSION_START": "1.7.5.2",
"PS_VERSION_END": "8.2.0",
"PHP_VERSION": "7.2"
},
{
"comment": "1.7.6.0 ~ 1.7.6.9 -> 1.7.8.11 PHP 7.1"
},
Expand Down Expand Up @@ -845,4 +881,4 @@
"PHP_VERSION": "8.1"
}
]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/ui-test/sanity.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@
"PHP_VERSION": "8.1"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ test.describe('BO - Orders - Orders : Filter the Orders table by ID, REFERENCE,
},
];

tests.forEach((tst,index:number) => {
tests.forEach((tst, index: number) => {
test(`should filter the Orders table by '${tst.args.filterBy}' and check the result`, async () => {
await utilsTest.addContextItem(test.info(), 'testIdentifier', tst.args.identifier, baseContext);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ test.describe('FO - Cart : Check Cart in FO', async () => {
.toFixed(2));
});

test('should get the product number and check that is equal to 2', async () => {
test('should get the products number and check that is equal to 2', async () => {
await utilsTest.addContextItem(test.info(), 'testIdentifier', 'checkNumberOfProductsInCart', baseContext);

totalATI = await foClassicCartPage.getATIPrice(page);
Expand Down
4 changes: 2 additions & 2 deletions tests/UI/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e1665c9

Please sign in to comment.