Skip to content

Commit

Permalink
fix: remove whitespaces around extension id (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique authored Nov 15, 2024
1 parent bc88761 commit 1488846
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const keplr = {
async getExtensionDetails() {
const keplrExtensionData = (await playwright.getExtensionsData()).keplr;

extensionId = keplrExtensionData.id;
extensionId = keplrExtensionData.id.trim();
extensionVersion = keplrExtensionData.version;
registrationUrl = `chrome-extension://${extensionId}/register.html`;
permissionsUrl = `chrome-extension://${extensionId}/popup.html#/setting/security/permission`;
Expand Down
2 changes: 1 addition & 1 deletion commands/playwright-keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = {
} else if (
page
.url()
.includes(`chrome-extension://${keplrExtensionData.id}/register.html`)
.includes(`chrome-extension://${keplrExtensionData.id.trim()}/register.html`)
) {
keplrWindow = page;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agoric/synpress",
"version": "3.8.2",
"version": "3.8.3-beta.2",
"description": "Synpress is e2e testing framework based around Cypress.io & playwright with included MetaMask support. Test your dapps with ease.",
"keywords": [
"Synpress",
Expand Down

0 comments on commit 1488846

Please sign in to comment.