Skip to content

Commit

Permalink
Modify delete plugin method, remove auth from method -- :close #163
Browse files Browse the repository at this point in the history
  • Loading branch information
Khadreal committed Oct 24, 2024
1 parent 1a6694c commit 4ed6dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/support/steps/delete-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ When('I delete plugin', async function (this: ICustomWorld) {
}

// Delete WPR.
await this.page.locator( '#delete-wp-rocket' ).click();
//await this.page.locator( '#delete-wp-rocket' ).click();

await this.utils.removeWprViaUi();
});

/**
Expand Down
1 change: 0 additions & 1 deletion utils/page-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,6 @@ export class PageUtils {
public removeWprViaUi = async (): Promise<void> => {
// Start the process to remove wp-rocket.
await this.visitPage('wp-admin');
await this.auth();

// Confirm Dialog Box.
this.page.on('dialog', async(dialog) => {
Expand Down

0 comments on commit 4ed6dd2

Please sign in to comment.