Skip to content

Commit

Permalink
Trim name of extension in extensionsdata (#59)
Browse files Browse the repository at this point in the history
* release: v3.8.3

Signed-off-by: toliaqat <touseefliaqat@gmail.com>

* release: v3.8.4-beta.0

Signed-off-by: toliaqat <touseefliaqat@gmail.com>

* trimming name of extension

* updated dockerfile

---------

Signed-off-by: toliaqat <touseefliaqat@gmail.com>
Co-authored-by: toliaqat <touseefliaqat@gmail.com>
  • Loading branch information
frazarshad and toliaqat authored Feb 4, 2025
1 parent 59c0fc4 commit 671f113
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM --platform=linux/amd64 synthetixio/docker-e2e:18.16-ubuntu as base
RUN mkdir /app
WORKDIR /app

RUN curl https://dl.google.com/linux/linux_signing_key.pub | tee /etc/apt/trusted.gpg.d/google.asc >/dev/null
RUN apt update && apt install -y nginx

COPY nginx.conf /etc/nginx/sites-available/default
Expand Down
6 changes: 4 additions & 2 deletions commands/playwright-keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ module.exports = {
.locator('#name-and-version')
.locator('#name')
.textContent()
).toLowerCase();
)
.toLowerCase()
.trim();

const extensionVersion = (
await extensionData
Expand All @@ -130,7 +132,7 @@ module.exports = {
).replace('ID: ', '');

extensionsData[extensionName] = {
version: extensionVersion,
version: extensionVersion.trim(),
id: extensionId.trim(),
};
}
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.3-beta.2",
"version": "3.8.4-beta.0",
"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 671f113

Please sign in to comment.