{"id":15170492,"url":"https://github.com/markjsapp/wdio-meta-tags","last_synced_at":"2026-02-25T20:04:43.395Z","repository":{"id":220261788,"uuid":"751179323","full_name":"markjsapp/wdio-meta-tags","owner":"markjsapp","description":"a node package that allows Testcafe like meta tagging for WDIO and Allure via Mocha","archived":false,"fork":false,"pushed_at":"2024-02-03T17:51:30.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T01:40:15.906Z","etag":null,"topics":["allure-report","automation","automation-testing","metadata","mocha","mocha-chai","nodejs","npmjs","npmjs-packages","typescript","wdio","webdriverio"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/wdio-meta-tags","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markjsapp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-01T04:48:02.000Z","updated_at":"2024-02-03T20:43:31.000Z","dependencies_parsed_at":"2024-02-01T05:46:31.097Z","dependency_job_id":"5124dd29-95e7-4d2a-af70-29fac7a20a65","html_url":"https://github.com/markjsapp/wdio-meta-tags","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"da8e71461b9e5898dd89a26dc82844e31c620444"},"previous_names":["markjsapp/wdio-meta-tags"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markjsapp/wdio-meta-tags","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjsapp%2Fwdio-meta-tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjsapp%2Fwdio-meta-tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjsapp%2Fwdio-meta-tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjsapp%2Fwdio-meta-tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markjsapp","download_url":"https://codeload.github.com/markjsapp/wdio-meta-tags/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjsapp%2Fwdio-meta-tags/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29837497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T19:08:47.527Z","status":"ssl_error","status_checked_at":"2026-02-25T18:59:04.705Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allure-report","automation","automation-testing","metadata","mocha","mocha-chai","nodejs","npmjs","npmjs-packages","typescript","wdio","webdriverio"],"created_at":"2024-09-27T08:03:21.512Z","updated_at":"2026-02-25T20:04:43.133Z","avatar_url":"https://github.com/markjsapp.png","language":"TypeScript","funding_links":["https://ko-fi.com/G2G3TQC7N"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e 🤖 WDIO-META-TAGS 🤖 \u003c/h1\u003e\n\n## **Table of Contents**\n- [Purpose](#purpose)\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Report Example](#report-example)\n- [Running the App](#running-the-App)\n- [Scripts](#scripts)\n- [Troubleshooting](#troubleshooting)\n\n## 📓 Purpose 📓\nHave you ever thought to yourself \"Damn I wish that WDIO+Mocha supported using a simple .meta() the way that Testcafe does out of the box. So that way I could use to easily append stuff to an Allure report\". Wish granted. This package is basically a wrapper for Mocha that modifies the .it(), .skip(), and .only() methods to support adding \"meta\"-like tags to tests for more accurate Allure Reports.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G3TQC7N)\n\n## 📢 Prerequisites 📢\nIn order to use this package you'll need to install the following:\n\n        A. Git \n        B. NodeJs (v20.11)\n        C. Chrome, Firefox and IE browsers latest versions\n        D. VS Code\n        E. GitBash\n\nIt is assumed that you have the following dependencies installed in your project:\n    @types/mocha\n    @types/node\n    @wdio/cli\n    @wdio/local-runner\n    @wdio/mocha-framework\n    @wdio/spec-reporter\n    allure-commandline\n    mocha\n    ts-node\n    typescript\n    @wdio/allure-reporter\n    dotenv\n\n## 🔌 Installation 🔌\n \nRun the below command on terminal to install the library:\n```npm i wdio-meta-tags``` \nor \n```npm install wdio-meta-tags```\n\n## 🧰 Usage 🧰\nTest file and usage example:\n\n```\nimport { it } from '../../tagHelper';\n\ndescribe('My Feature Tests', function() {\n    it.meta({\n        addTag: 'Regression',\n        addEpic: 'User Authentication',\n        addStory: 'Login Functionality',\n        addDescription: { description: 'Testing the login feature', type: 'text' },\n        jiraTicketId: 'DP-1234'\n    })('should perform a specific task', async function() {\n        //test logic\n    });\n});\n```\nThis probably goes without saying but you'll also need to update your WDIO config file and add Allure as a reporter and set the framework to Mocha. Additionally, you'll need to create a .env file with the variable ```WDIO_META_TAGS_JIRA_BASE_URL``` and then set it to your preferred test management software/url (ex. WDIO_META_TAGS_JIRA_BASE_URL= potato.atlassian.com/browse/). Note that this will override the allure tmsLinkTemplate in your WDIO config file.\n\n## 🧠 Supported Allure API Commands 🧠\n@wdio/allure-reporter documentation can be found ![here](https://webdriver.io/docs/allure-reporter/#supported-allure-api).\n\n* ```addLabel(name, value)``` - assign a custom label to test\n\n* ```addFeature(featureName)``` – assign features to test\n\n* ```addStory(storyName)``` – assign user story to test\n\n* ```addSeverity(value)``` – assign severity to test, accepts one of these values: blocker, - critical, normal, minor, trivial\n\n* ```addTag(value)``` – assign a tag label to test\n\n* ```addEpic(value)``` – assign an epic label to test\n\n* ```addOwner(value)``` – assign an owner label to test\n\n* ```addSuite(value)``` – assign a suite label to test\n\n* ```addSubSuite(value)``` – assign a sub suite label to test\n\n* ```addParentSuite(value)``` – assign a parent suite label to test\n\n* ```addIssue(value)``` – assign issue id to test\n\n* ```addAllureId(value)``` – assign allure test ops id label to test\n\n* ```addTestId(value)``` – assign TMS test id to test\n\n* ```addArgument(name, value)``` - add an additional argument to test\n\n* ```addDescription(description, [type])``` – add description to test\n\n    - ```description (String)``` - description of the test\n\n    - ```type (String, optional)``` – description type, text by \n    default. Values ['text', 'html','markdown']\n\n## 🎸 Report Example 🎸\n![Report](https://i.imgur.com/vVyXsfr.jpg)\n\n## 🗯️ Troubleshooting 🗯️\nYou may need to ![download](https://www.oracle.com/java/technologies/downloads/) the latest Java SDK if you have problems launching allure.\n\n## 💫 License 💫\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjsapp%2Fwdio-meta-tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkjsapp%2Fwdio-meta-tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjsapp%2Fwdio-meta-tags/lists"}