Skip to content

Commit f6bb780

Browse files
committed
Update to playwright 1.58.2 and remove removed selector tests for _react / _vue
1 parent ec47cd5 commit f6bb780

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"jsdoc-typeof-plugin": "1.0.0",
165165
"json-server": "0.17.4",
166166
"mochawesome": "^7.1.3",
167-
"playwright": "1.57.0",
167+
"playwright": "1.58.2",
168168
"prettier": "^3.3.2",
169169
"puppeteer": "24.15.0",
170170
"qrcode-terminal": "0.12.0",

test/acceptance/react_test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*
12
const { I } = inject()
23
34
Feature('React Selectors')
@@ -31,3 +32,4 @@ Scenario('using playwright locator @Playwright', () => {
3132
I.click({ pw: '_react=t[name = "="]' })
3233
I.seeElement({ pw: '_react=t[value = "10"]' })
3334
})
35+
*/

test/unit/locator_test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ describe('Locator', () => {
244244
expect(l.toString()).to.equal('foo')
245245
})
246246

247+
/*
247248
it('should create playwright locator - _react', () => {
248249
const l = new Locator({ pw: '_react=button' })
249250
expect(l.type).to.equal('pw')
@@ -257,7 +258,7 @@ describe('Locator', () => {
257258
expect(l.value).to.equal('_vue=button')
258259
expect(l.toString()).to.equal('{pw: _vue=button}')
259260
})
260-
261+
*/
261262
it('should create playwright locator - data-testid', () => {
262263
const l = new Locator({ pw: '[data-testid="directions"]' })
263264
expect(l.type).to.equal('pw')

0 commit comments

Comments
 (0)