Skip to content

Commit 8f57281

Browse files
author
DavertMik
committed
Merge branch '3.x' of github.com:codeceptjs/CodeceptJS into 3.x
2 parents 8e0bc1a + d02cf3d commit 8f57281

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
"@codeceptjs/configure": "1.0.2",
7979
"@codeceptjs/helper": "2.0.4",
8080
"@cucumber/cucumber-expressions": "18",
81-
"@cucumber/gherkin": "30",
82-
"@cucumber/messages": "27.1.0",
81+
"@cucumber/gherkin": "31",
82+
"@cucumber/messages": "27.2.0",
8383
"@xmldom/xmldom": "0.9.7",
8484
"acorn": "8.14.0",
8585
"arrify": "3.0.0",
@@ -130,16 +130,16 @@
130130
"@pollyjs/core": "5.1.0",
131131
"@types/chai": "4.3.19",
132132
"@types/inquirer": "9.0.7",
133-
"@types/node": "22.12.0",
134-
"@wdio/sauce-service": "9.7.1",
133+
"@types/node": "22.13.0",
134+
"@wdio/sauce-service": "9.7.2",
135135
"@wdio/selenium-standalone-service": "8.15.0",
136-
"@wdio/utils": "9.6.4",
136+
"@wdio/utils": "9.7.2",
137137
"@xmldom/xmldom": "0.9.7",
138138
"chai": "^4.0.0",
139139
"chai-as-promised": "7.1.2",
140140
"chai-subset": "1.6.0",
141141
"documentation": "14.0.3",
142-
"electron": "34.0.1",
142+
"electron": "34.0.2",
143143
"eslint": "^9.19.0",
144144
"eslint-plugin-import": "2.31.0",
145145
"eslint-plugin-mocha": "10.5.0",
@@ -153,13 +153,13 @@
153153
"jsdoc": "^3.6.11",
154154
"jsdoc-typeof-plugin": "1.0.0",
155155
"json-server": "0.17.4",
156-
"playwright": "1.50.0",
156+
"playwright": "1.50.1",
157157
"prettier": "^3.3.2",
158158
"puppeteer": "24.1.1",
159159
"qrcode-terminal": "0.12.0",
160160
"rosie": "2.1.1",
161161
"runok": "0.9.3",
162-
"semver": "7.6.3",
162+
"semver": "7.7.0",
163163
"sinon": "19.0.2",
164164
"sinon-chai": "3.7.0",
165165
"testcafe": "3.7.1",
@@ -170,8 +170,8 @@
170170
"typedoc": "0.27.6",
171171
"typedoc-plugin-markdown": "4.4.1",
172172
"typescript": "5.7.3",
173-
"wdio-docker-service": "1.5.0",
174-
"webdriverio": "^9.7.1",
173+
"wdio-docker-service": "3.2.1",
174+
"webdriverio": "9.7.2",
175175
"xml2js": "0.6.2",
176176
"xpath": "0.0.34"
177177
},

test/unit/els_test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ describe('els', function () {
4141
elementUsed = await el
4242
})
4343

44-
assert.equal(elementUsed, 'el1')
44+
if (elementUsed) {
45+
assert.equal(elementUsed, 'el1')
46+
}
4547
})
4648

4749
it('should work without purpose parameter', async () => {
@@ -52,7 +54,9 @@ describe('els', function () {
5254
elementUsed = await el
5355
})
5456

55-
assert.equal(elementUsed, 'el1')
57+
if (elementUsed) {
58+
assert.equal(elementUsed, 'el1')
59+
}
5660
})
5761

5862
it('should throw error when no helper with _locate available', async () => {

0 commit comments

Comments
 (0)