A Chrome / Firefox Extension for supercharging the TestRail workflow.
- Allow navigating to a similar case in the other suites.
- Allow link copying in full screen view.
Table of contents generated with markdown-toc
- Click the extension icon, a pop up should appear
- Enter the TestRail link (e.g. https://*.testrail.net/index.php?/) and press
Save - Enter your TestRail email and press
Save - Enter your token (Create in TestRail/My Settings/API Keys) and press
Save - Add the test suites you want to navigate to in the
Test Suitestab
- Added custom suite list
- Fix cannot search test cases with comma
- Fix duplicate error alerts
- Allow linking to foreign cases
- Add links to case number label
- Only works for users in Pugpig
No data is collected, everything is stored locally on the browser.
- Run
npm run build - Load the
distfile to the Chrome extension settings
When the link is pressed, it fires a TestRail API call to find test case in the other suite with the same test case title. The test case return follows the heuristic below:
- If there is no match, return 'Cannot find match' error.
- If there are only one match, then return this test case.
- If there is only one match with the same title, then return this test case.
- If there are more than one match with the same title, it will try to compare their section name if still no match return the first one.
- If there are no match with the same title, then we compare the edit distance between cases and return the best result.
The manifest.json for Chrome and Firefox is different, use manifest.chrome.json for Chrome and manifest.firefox.json for Firefox
Since the manifest.json for Chrome and Firefox is different, use npm run build-chrome or npm run build-firefox to build the application with their respective manfest.json
The application version is the latest Git tag with the x.x.x format.
git describe --tags --abbrev=0
npm run new-version --tag=<VERSION_NUMBER>