Skip to content

Commit

Permalink
PMM-7: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
peterSirotnak committed Jan 3, 2025
1 parent 096e94f commit 033a521
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
14 changes: 7 additions & 7 deletions tests/backup/inventory_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ AfterSuite(async ({ I }) => {
});

Scenario(
'PMM-T691 Verify message about no backups in inventory @backup @bm-mongo',
'PMM-T691 Verify message about no backups in inventory @backup @bm-mongo @pre-mongo-backup-upgrade',
async ({
I, backupInventoryPage,
}) => {
Expand All @@ -114,7 +114,7 @@ createBackupTests.add([location.name]);
createBackupTests.add([localStorageLocationName]);

Data(createBackupTests).Scenario(
'@PMM-T855 @PMM-T1393 Verify user is able to perform MongoDB backup @backup @bm-mongo @bm-fb',
'@PMM-T855 @PMM-T1393 Verify user is able to perform MongoDB backup @backup @bm-mongo @bm-fb @pre-mongo-backup-upgrade',
async ({
I, backupInventoryPage, backupAPI, current,
}) => {
Expand All @@ -141,7 +141,7 @@ Data(createBackupTests).Scenario(
).retry(1);

Scenario(
'@PMM-T961 @PMM-T1005 @PMM-T1024 Verify create backup modal @backup @bm-mongo',
'@PMM-T961 @PMM-T1005 @PMM-T1024 Verify create backup modal @backup @bm-mongo @pre-mongo-backup-upgrade',
async ({
I, backupInventoryPage,
}) => {
Expand Down Expand Up @@ -190,7 +190,7 @@ restoreFromDifferentStorageLocationsTests.add([locationsAPI.storageType.localCli

Data(restoreFromDifferentStorageLocationsTests).Scenario(
'@PMM-T862 PMM-T1508 @PMM-T1393 @PMM-T1394 @PMM-T1508 @PMM-T1520 @PMM-T1452 PMM-T1583 PMM-T1674 PMM-T1675'
+ ' Verify user is able to perform MongoDB restore from different storage locations @backup @bm-mongo @bm-fb',
+ ' Verify user is able to perform MongoDB restore from different storage locations @backup @bm-mongo @bm-fb @post-mongo-backup-upgrade',
async ({
I, backupInventoryPage, backupAPI, inventoryAPI, restorePage, current,
}) => {
Expand Down Expand Up @@ -264,7 +264,7 @@ const restoreToDifferentService = new DataTable(['backupType']);
// restoreToDifferentService.add(['PHYSICAL']);

Data(restoreToDifferentService).Scenario(
'@PMM-T1773 Verify user is able to perform MongoDB restore to compatible service @backup @bm-mongo @bm-fb',
'@PMM-T1773 Verify user is able to perform MongoDB restore to compatible service @backup @bm-mongo @bm-fb @post-mongo-backup-upgrade',
async ({
I, backupInventoryPage, backupAPI, inventoryAPI, restorePage, current,
}) => {
Expand Down Expand Up @@ -309,7 +309,7 @@ Data(restoreToDifferentService).Scenario(
).retry(1);

Scenario(
'@PMM-T910 @PMM-T911 Verify delete from storage is selected by default @backup @bm-mongo',
'@PMM-T910 @PMM-T911 Verify delete from storage is selected by default @backup @bm-mongo @pre-mongo-backup-upgrade @post-mongo-backup-upgrade',
async ({
I, backupInventoryPage, backupAPI, inventoryAPI,
}) => {
Expand Down Expand Up @@ -339,7 +339,7 @@ Scenario(

// Unskip after https://jira.percona.com/browse/PBM-1193 is fixed
Scenario.skip(
'@PMM-T928 @PMM-T992 Verify schedule retries and restore from a scheduled backup artifact @backup @bm-mongo',
'@PMM-T928 @PMM-T992 Verify schedule retries and restore from a scheduled backup artifact @backup @bm-mongo @post-mongo-backup-upgrade',
async ({
I, backupInventoryPage, scheduledAPI, backupAPI, restorePage,
}) => {
Expand Down
10 changes: 4 additions & 6 deletions tests/upgrade/mongoBackup_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Scenario.skip(
},
);

Scenario(
Scenario.skip(
'@PMM-T1505 @PMM-T971 - The scheduled job still exists and remains enabled after the upgrade @post-mongo-backup-upgrade',
async ({ I, scheduledPage }) => {
await scheduledPage.openScheduledBackupsPage();
Expand All @@ -122,7 +122,7 @@ Scenario(
},
).retry(0);

Scenario(
Scenario.skip(
'@PMM-T1506 - Storage Locations exist after upgrade @post-mongo-backup-upgrade',
async ({ I, locationsPage }) => {
locationsPage.openLocationsPage();
Expand All @@ -135,7 +135,7 @@ Scenario(
},
);

Scenario(
Scenario.skip(
'@PMM-T1503 PMM-T970 - The user is able to do a restore for MongoDB after the upgrade @post-mongo-backup-upgrade',
async ({
I, backupInventoryPage, restorePage, credentials,
Expand Down Expand Up @@ -169,7 +169,7 @@ Scenario(
},
).retry(0);

Scenario(
Scenario.skip(
'@PMM-T1504 - The user is able to do a backup for MongoDB after upgrade @post-mongo-backup-upgrade',
async ({
locationsAPI, inventoryAPI, backupAPI, backupInventoryPage,
Expand All @@ -184,5 +184,3 @@ Scenario(
backupInventoryPage.verifyBackupSucceeded(backupName);
},
);


0 comments on commit 033a521

Please sign in to comment.