Skip to content

Commit

Permalink
fix: Sharing Recalculation Intermittent Error (#499)
Browse files Browse the repository at this point in the history
Fixing spelling error on waiting for the recalculate button
  • Loading branch information
gavinhughpalmer authored Jul 26, 2022
1 parent 5ec4a49 commit 536bcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/defer-sharing-calculation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class DeferSharingCalculation extends BrowserforcePlugin {
await page.click(button);
if (!config.suspend) {
const refreshedPage = await this.browserforce.openPage(PATHS.BASE);
await page.waitForSelector(SELECTORS.RECALCULATE_BUTTON);
await refreshedPage.waitForSelector(SELECTORS.RECALCULATE_BUTTON);
await refreshedPage.click(SELECTORS.RECALCULATE_BUTTON);
}
}
Expand Down

0 comments on commit 536bcca

Please sign in to comment.