Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [18, 20]
node-version: [18, 20, 22]

steps:
- name: Checkout Repository
Expand Down
59 changes: 26 additions & 33 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,27 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "debug test.js",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/test/test.js"
},
{
"type": "node",
"name": "debug current spec file",
"request": "launch",
"args": [
"${file}"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/node_modules/jasmine/bin/jasmine",
"sourceMaps": true,
"runtimeArgs": [
"--nolazy",
"--inspect-brk"
]
}
]
}
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "debug test.js",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/test/test.js"
},
{
"type": "node",
"name": "debug current spec file",
"request": "launch",
"args": ["${file}"],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"program": "${workspaceFolder}/node_modules/jasmine/bin/jasmine",
"sourceMaps": true,
"runtimeArgs": ["--nolazy", "--inspect-brk"]
}
]
}
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Contributing
============
# Contributing

We try to achieve a 100% coverage on the Javascript code. Please make sure that each addition reaches this goal.

## Tests

- clone the project to your local machine
- do a npm install

Expand Down
8 changes: 3 additions & 5 deletions docs/WEBDRIVER.IO.MD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# webdriver.io

> **NOTE:<br>**
> If you are using WebdriverIO V4 follow the instructions below, if you are using WebdriverIO V5, please check [here](https://github.com/WasiqB/wdio-cucumberjs-json-reporter).
> **NOTE:**
> If you are using WebdriverIO V4 follow the instructions below, if you are using WebdriverIO V5, please check [wdio-cucumberjs-json-reporter](https://github.com/webdriverio-community/wdio-cucumberjs-json-reporter).

Follow the installation instructions as mentioned in [Install](../README.MD#install)

Expand All @@ -12,9 +12,7 @@ It works nicely with this reporter.

## Using wdio-cucumber-framework version lower than 2.2.0?

> **NOTE: THIS INSTRUCTION ONLY WORKS WITH `CucumberJS` V2 AND THUS `wdio-cucumber-framework` V1.1.1. I'M WORKING ON A SOLUTION FOR THE LATEST VERSION OF `CucumberJS` V4 AND THUS `wdio-cucumber-framework` > V2.0.0**

> **THIS REPORT WORKS BASED ON EXTRA PROVIDED BROWSER INFO IN THE REPORT. PLEASE FOLLOWING THE INSTRUCTIONS BELOW / IN THE README.MD TO ADD THAT INFO. IF YOU DON'T YOU MAY GET ERRORS GENERATING THE REPORT**
> **NOTE: THIS INSTRUCTION ONLY WORKS WITH `CucumberJS` V2 AND THUS `wdio-cucumber-framework` V1.1.1. I'M WORKING ON A SOLUTION FOR THE LATEST VERSION OF `CucumberJS` V4 AND THUS `wdio-cucumber-framework` > V2.0.0** > **THIS REPORT WORKS BASED ON EXTRA PROVIDED BROWSER INFO IN THE REPORT. PLEASE FOLLOWING THE INSTRUCTIONS BELOW / IN THE README.MD TO ADD THAT INFO. IF YOU DON'T YOU MAY GET ERRORS GENERATING THE REPORT**

## Step 1: Add extra dependency

Expand Down
8 changes: 4 additions & 4 deletions examples/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"author": "Wasiq Bhamla",
"license": "MIT",
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^22.0.1",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.4",
"@types/node": "^22.14.0",
"cypress": "^14.0.3",
"@badeball/cypress-cucumber-preprocessor": "^22.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.5",
"@types/node": "^24.0.3",
"cypress": "^14.4.1",
"multiple-cucumber-html-reporter": "3.9.2",
"typescript": "^5.8.3"
},
Expand Down
Loading