{"repo":"ryanrosello-og/playwright-slack-report","free":true,"listed":false,"github":"https://github.com/ryanrosello-og/playwright-slack-report","clone":"git clone https://github.com/ryanrosello-og/playwright-slack-report.git","description":"Publish your Playwright test results to your favourite Slack channel(s).","language":"TypeScript","stars":146,"topics":["playwright","slack","test-automation","typescript"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"playwright-slack-report Publish your Playwright test results to your favorite Slack channel(s). 🚀 Features - 💌 Send results your Playwright test results to one or more Slack channels - 🎚️ Leverage JSON results created by Playwright and seamlessly post them on Slack - 📊 Conditionally send results to Slack channels based on test results - 📄 Include additional meta information into your test summary e.g. Branch, BuildId etc - 🧑‍🎨 Define your own custom Slack message layout! 📦 Installation Run following commands: yarn yarn add playwright-slack-report -D npm npm install playwright-slack-report -D Modify your playwright.config.ts file to include the following: Option A - send your results via a Slack webhook Enable incoming webhooks in your Slack workspace by following the steps as per Slack's documentation: https://api.slack.com/messaging/webhooks Once you have enabled incoming webhooks, you will need to copy the webhook URL and specify it in the config: Note I: You will most likely need to have Slack administrator rights to perform the steps above. Note II: Sending failure details in a thread is not supported when using webhooks. You will need to use Option B below. Note III: You can use slackWebHookChannel: \"pw-tests\" as an option if you have a single Slack webhook URL that needs to send messages to multiple channels. Option B - send your results via a Slack bot user Run your tests by providing your SLACK BOT USER OAUTH TOKEN as an environment variable or specifying slac","default_branch":null,"files":null,"tree":[],"storefront":"/r/ryanrosello-og","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ryanrosello-og/playwright-slack-report/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}