Skip to content

Commit

Permalink
Test interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrineabdmouleh committed Jan 3, 2025
1 parent 8fa78e6 commit 57bb965
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ui-test/sanity.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"comment": "1.7.0.6 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.0.6",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -13,6 +14,7 @@
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.1.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -22,6 +24,7 @@
"comment": "1.7.2.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.2.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -31,6 +34,7 @@
"comment": "1.7.3.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.3.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -40,6 +44,7 @@
"comment": "1.7.4.2 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.4.2",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -49,6 +54,7 @@
"comment": "1.7.5.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.5.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -58,6 +64,7 @@
"comment": "1.7.6.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.6.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -67,6 +74,7 @@
"comment": "1.7.7.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.7.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -76,6 +84,7 @@
"comment": "1.7.8.0 -> 1.7.8.11 PHP 7.1 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.8.0",
"PS_VERSION_END": "1.7.8.11",
"PHP_VERSION": "7.1",
Expand All @@ -85,6 +94,7 @@
"comment": "1.7.8.11 -> 8.2.0 PHP 7.4 online"
},
{
"comment": "1.7.1.0 -> 1.7.8.11 PHP 7.1 online",
"PS_VERSION_START": "1.7.8.11",
"PS_VERSION_END": "8.2.0",
"PHP_VERSION": "7.4",
Expand Down
4 changes: 3 additions & 1 deletion tests/UI/campaigns/functional/01_upgrade.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,11 @@ test.describe('Verify the New UI', () => {
});
}

test('should display the new interface', async ()=> {
test('should display the new interface', async () => {
const url = await modAutoupgradeBoMain.getCurrentURL(page);
console.log(url);
const uurl = url.split('&token');
await modAutoupgradeBoMain.goTo(page, uurl[0] + '&new-ui=1&route=home-page' + uurl[1]);

Check failure on line 201 in tests/UI/campaigns/functional/01_upgrade.spec.ts

View workflow job for this annotation

GitHub Actions / ESLint

Unexpected string concatenation
});

/*test('should go to maintenance page', async () => {
Expand Down

0 comments on commit 57bb965

Please sign in to comment.