{"_id":"@dlordkendex/maila-discord-reporter-beta","_rev":"2-d0fa75f72d4b285a207a3c6bb3024cdf","name":"@dlordkendex/maila-discord-reporter-beta","dist-tags":{"latest":"1.1.1111"},"versions":{"1.1.11":{"name":"@dlordkendex/maila-discord-reporter-beta","version":"1.1.11","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-beta":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-beta.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","@dlordkendex/maila-discord-reporter":"*"},"devDependencies":{"@dlordkendex/maila-discord-reporter":"*"},"_id":"@dlordkendex/maila-discord-reporter-beta@1.1.11","gitHead":"29d37a98bd62f0c8e380a3c9519717821cc574e4","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-beta/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-beta#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-Da3RKBW1LsmpA3X1o7xPO0ck52jOWxhfif54HFfUJD8PQBx34EvBNtzJi9+3AdWr4bD0GEmnpFCT3s2mzF2e0Q==","shasum":"a5818565c37237870fcab617bbe030302e73953b","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-beta/-/maila-discord-reporter-beta-1.1.11.tgz","fileCount":15,"unpackedSize":131086,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3b1/bOVGSfvcBOY4sPrcAAytd4dGJPcURbr28oSiV/AiBgeG1OW3JUHP7sZL/Ul8D2ZKoG90d50KiVT83ynDAoTQ=="}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-beta_1.1.11_1708809476520_0.9417491853748261"},"_hasShrinkwrap":false},"1.1.111":{"name":"@dlordkendex/maila-discord-reporter-beta","version":"1.1.111","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-beta":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-beta.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","@dlordkendex/maila-discord-reporter-alpha":"*","@dlordkendex/maila-discord-reporter":"*"},"devDependencies":{"@dlordkendex/maila-discord-reporter-alpha":"*","@dlordkendex/maila-discord-reporter":"*"},"_id":"@dlordkendex/maila-discord-reporter-beta@1.1.111","gitHead":"b28a5dc6dea9fa55a72c53658b7d59a8ff00ae8e","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-beta/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-beta#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-XhS/i1iaiGqIpphyiuHUipQY+VpTq0RD4oSTOb9td+HO2xH+HX6aQlibSoCDFOwWuYegh2R9dGNKJQOuHI2ATw==","shasum":"30b8b758aa27b8604cd91dd5f22776f60c86d04b","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-beta/-/maila-discord-reporter-beta-1.1.111.tgz","fileCount":15,"unpackedSize":131195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXCqVz4gsI+4lpqDXPtq02W/w/qBn0RnfsT6J+WPLf7gIhAMhbUyPCPGzopgiZkQg49JfBjdFp/ljbFyfeJr7tNZy2"}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-beta_1.1.111_1708809967672_0.511819224596846"},"_hasShrinkwrap":false},"1.1.1111":{"name":"@dlordkendex/maila-discord-reporter-beta","version":"1.1.1111","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-beta":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-beta.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","@dlordkendex/maila-discord-reporter-alpha":"*","@dlordkendex/maila-discord-reporter":"*","maila-talijah-alpha":"*"},"_id":"@dlordkendex/maila-discord-reporter-beta@1.1.1111","gitHead":"0a1f0e5be50ec05062e5ed1278837fb8fa07aa5d","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-beta/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-beta#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-8v4vu57N89yN9GgP42smyg5YSOk17C1RgKNTSqfhpsuvrg91KkYUBzrMtk3mVGkN13saETXBtyFRljdSGFiZDw==","shasum":"c99594d043f6f0b714d7d9dbb56c5eb5b028e6ad","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-beta/-/maila-discord-reporter-beta-1.1.1111.tgz","fileCount":15,"unpackedSize":131100,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuSSwDqEzP80r4q1VnBbpIuLbuAq+fL9pKp3SpQXffJAiBehzrgt+FtaoofSyZaZJJdCkU5yYBb+V3zjCxAvmGo3Q=="}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-beta_1.1.1111_1708918039491_0.9168122075402558"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-24T21:17:56.442Z","1.1.11":"2024-02-24T21:17:56.684Z","modified":"2024-02-26T03:27:20.323Z","1.1.111":"2024-02-24T21:26:07.890Z","1.1.1111":"2024-02-26T03:27:19.700Z"},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"description":"A Discord reporter for allure reports generated by maila","homepage":"https://github.com/dlordkendex/maila-discord-reporter-beta#readme","keywords":["maila","discord"],"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-beta.git"},"author":{"name":"dlord"},"bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-beta/issues"},"license":"ISC","readme":"# Discord-reporter\r\n\r\n![npm](https://img.shields.io/npm/v/maila-discord-reporter-beta) ![GitHub](https://img.shields.io/github/license/maritome/maila-discord-reporter-beta)  \r\n\r\n\r\n\r\n## maila Discord Reporter\r\n\r\nA Discord reporter of your test results.  \r\nIt uses the allure report generated by maila-allure-plugin (or any other allure reporter) to send a message in a team channel of your choice with the status of the test run.\r\nEveryone gets a fast, short and well-organized feedback of the latest test execution.  \r\nThe message sent to discord include:\r\n\r\n- Test run status\r\n- How many test cases failed (if there are any)\r\n- The list of the test cases that failed (if there are any)\r\n- How many test cases are broken (if there are any)\r\n- The list of the test cases that are broken (if there are any)\r\n- A link of the allure report generated, which includes all the necessary details\r\n\r\nHow discord message looks like\r\n\r\n![All test cases passed](/assets/screenshots/report-passed.PNG)\r\n![Some test cases failed](/assets/screenshots/report-failed.PNG)\r\n![Some test cases are broken](/assets/screenshots/report-broken.PNG)\r\n\r\n## Installation\r\n\r\n```\r\nnpm install maila-discord-reporter-beta --save-dev\r\n```\r\n## Configuration\r\n\r\nCreate an incoming webhook for the team channel where you want to get the report. Copy the WEBHOOK URL and add it to your .env file:\r\n\r\n```\r\nDISCORD_WEBHOOK_URL = 'yourWebhookUrl'\r\n```\r\n\r\nTo display in the discord message the name of the application under test and its version when the tests were executed, create a environment.properties file within your allure-results folder. In the file add:\r\n\r\n```\r\nApplication=Application Under Test\r\nVersion=vx.x.x\r\n```\r\n\r\n## Usage\r\n\r\n```\r\n$ npx maila-discord-reporter-beta\r\n```\r\n\r\n```\r\nUsage: index [options]\r\n\r\nOptions:\r\n  -v, --version          output the version number\r\n  --verbose              show log output\r\n  --report-path [type]   define the path of allure report file (default: \"./allure-report/widgets/status-chart.json\")\r\n  --testEnv-path [type]  define the path of allure report environment properties file (default: \"./allure-report/widgets/environment.json\")\r\n  --report-url [type]    provide the link for the Test Report (default: \"\")\r\n  -h, --help             display help for command\r\n```\r\n\r\nIf the allure report is uploaded somewhere, provide the link using the option `--report-url`. A button 'Open Test Report' will be part of discord message. Onclick it, the allure test report will be opened.\r\n\r\nProject forked from [maila-msteams-reporter](https://github.com/maritome/maila-msteams-reporter) by Maria Tome\r\n","readmeFilename":"README.md"}