From 7e8f57679339cb87d53380d7d54529fb4e7405d7 Mon Sep 17 00:00:00 2001 From: miguelangaranocurrents Date: Fri, 16 Aug 2024 11:32:13 -0500 Subject: [PATCH 1/2] feat: added blob report and merge feat: added blob report and merge --- .github/workflows/test-or8n.yml | 9 ++++++- package-lock.json | 46 ++++++++++++++++----------------- package.json | 2 +- 3 files changed, 32 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test-or8n.yml b/.github/workflows/test-or8n.yml index db8542f..d877404 100644 --- a/.github/workflows/test-or8n.yml +++ b/.github/workflows/test-or8n.yml @@ -45,5 +45,12 @@ jobs: CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} CURRENTS_CI_BUILD_ID: reporter-${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} COMMIT_INFO_MESSAGE: "pwc-p: ${{ github.event.head_commit.message }}" + PWTEST_BLOB_DO_NOT_REMOVE: 1 # Add the env variable to don't remove test blobs + #Add the blob reporter in the execution command run: | - npx pwc-p + npx pwc-p --reporter blob + + # Generate a report based on the blob with the merge-report command + - name: Generate HTML report from blob + run: | + npx playwright merge-reports --reporter=html ./blob-report diff --git a/package-lock.json b/package-lock.json index b0b7078..bea2097 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "typescript": "^4.5.5" }, "devDependencies": { - "@playwright/test": "^1.46.0", + "@playwright/test": "1.46.1", "@types/express": "^4.17.13", "@typescript-eslint/eslint-plugin": "^5.22.0", "@typescript-eslint/parser": "^5.22.0", @@ -423,12 +423,12 @@ } }, "node_modules/@playwright/test": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.0.tgz", - "integrity": "sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==", + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.1.tgz", + "integrity": "sha512-Fq6SwLujA/DOIvNC2EL/SojJnkKf/rAwJ//APpJJHRyMi1PdKrY3Az+4XNQ51N4RTbItbIByQ0jgd1tayq1aeA==", "dev": true, "dependencies": { - "playwright": "1.46.0" + "playwright": "1.46.1" }, "bin": { "playwright": "cli.js" @@ -3421,11 +3421,11 @@ } }, "node_modules/playwright": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", - "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.1.tgz", + "integrity": "sha512-oPcr1yqoXLCkgKtD5eNUPLiN40rYEM39odNpIb6VE6S7/15gJmA1NzVv6zJYusV0e7tzvkU/utBFNa/Kpxmwng==", "dependencies": { - "playwright-core": "1.46.0" + "playwright-core": "1.46.1" }, "bin": { "playwright": "cli.js" @@ -3438,9 +3438,9 @@ } }, "node_modules/playwright-core": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", - "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==", + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.1.tgz", + "integrity": "sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==", "bin": { "playwright-core": "cli.js" }, @@ -4785,12 +4785,12 @@ } }, "@playwright/test": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.0.tgz", - "integrity": "sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==", + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.46.1.tgz", + "integrity": "sha512-Fq6SwLujA/DOIvNC2EL/SojJnkKf/rAwJ//APpJJHRyMi1PdKrY3Az+4XNQ51N4RTbItbIByQ0jgd1tayq1aeA==", "dev": true, "requires": { - "playwright": "1.46.0" + "playwright": "1.46.1" } }, "@sentry/core": { @@ -6964,18 +6964,18 @@ } }, "playwright": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.0.tgz", - "integrity": "sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==", + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.46.1.tgz", + "integrity": "sha512-oPcr1yqoXLCkgKtD5eNUPLiN40rYEM39odNpIb6VE6S7/15gJmA1NzVv6zJYusV0e7tzvkU/utBFNa/Kpxmwng==", "requires": { "fsevents": "2.3.2", - "playwright-core": "1.46.0" + "playwright-core": "1.46.1" } }, "playwright-core": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.0.tgz", - "integrity": "sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==" + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.1.tgz", + "integrity": "sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==" }, "playwright-lighthouse": { "version": "2.2.2", diff --git a/package.json b/package.json index 44df585..81890a1 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "author": "", "license": "ISC", "devDependencies": { - "@playwright/test": "^1.46.0", + "@playwright/test": "1.46.1", "@types/express": "^4.17.13", "@typescript-eslint/eslint-plugin": "^5.22.0", "@typescript-eslint/parser": "^5.22.0", From 9152232ffc752d6c251f5222db0f016400262dca Mon Sep 17 00:00:00 2001 From: miguelangaranocurrents Date: Mon, 19 Aug 2024 17:05:15 -0500 Subject: [PATCH 2/2] fix: wrong text --- .github/workflows/test-or8n.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-or8n.yml b/.github/workflows/test-or8n.yml index d877404..8a81b15 100644 --- a/.github/workflows/test-or8n.yml +++ b/.github/workflows/test-or8n.yml @@ -45,8 +45,8 @@ jobs: CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} CURRENTS_CI_BUILD_ID: reporter-${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} COMMIT_INFO_MESSAGE: "pwc-p: ${{ github.event.head_commit.message }}" - PWTEST_BLOB_DO_NOT_REMOVE: 1 # Add the env variable to don't remove test blobs - #Add the blob reporter in the execution command + PWTEST_BLOB_DO_NOT_REMOVE: 1 # Add the env variable to not remove test blobs + # Add the blob reporter in the execution command run: | npx pwc-p --reporter blob