Skip to content

Commit 0cdc49a

Browse files
committed
Fix Playwright test assertions - initialize chai.should()
- Added chai.should() initialization to Playwright_test.js - Tests were failing with 'Cannot read properties of undefined (reading 'eql')' - Now tests pass successfully with proper assertions
1 parent c9f62ad commit 0cdc49a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/helper/Playwright_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import chai from 'chai'
22

33
const assert = chai.assert
44
const expect = chai.expect
5+
const should = chai.should()
56

67
import path from 'path'
78
import fs from 'fs'

0 commit comments

Comments
 (0)