File tree 3 files changed +35
-3
lines changed
3 files changed +35
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 3.6.5
2
+
3
+ ❤️ Thanks all to those who contributed to make this release! ❤️
4
+
5
+ 🛩️ * Features*
6
+ * feat(helper): playwright > wait for disabled (#4412 ) - by @kobenguyent
7
+ ```
8
+ it('should wait for input text field to be disabled', () =>
9
+ I.amOnPage('/form/wait_disabled').then(() => I.waitForDisabled('#text', 1)))
10
+
11
+ it('should wait for input text field to be enabled by xpath', () =>
12
+ I.amOnPage('/form/wait_disabled').then(() => I.waitForDisabled("//*[@name = 'test']", 1)))
13
+
14
+ it('should wait for a button to be disabled', () =>
15
+ I.amOnPage('/form/wait_disabled').then(() => I.waitForDisabled('#text', 1)))
16
+
17
+ Waits for element to become disabled (by default waits for 1sec).
18
+ Element can be located by CSS or XPath.
19
+
20
+ @param {CodeceptJS.LocatorOrString} locator element located by CSS|XPath|strict locator.
21
+ @param {number} [sec=1] (optional) time in seconds to wait, 1 by default.
22
+ @returns {void} automatically synchronized promise through #recorder
23
+ ```
24
+
25
+ 🐛 * Bug Fixes*
26
+ * fix(AI): AI is not triggered (#4422 ) - by @kobenguyent
27
+ * fix(plugin): stepByStep > report doesn't sync properly (#4413 ) - by @kobenguyent
28
+ * fix: Locator > Unsupported pseudo selector 'has' (#4448 ) - by @anils92
29
+
30
+ 📖 * Documentation*
31
+ * docs: setup azure open ai using bearer token (#4434 ) - by @kobenguyent
32
+
1
33
## 3.6.4
2
34
3
35
❤️ Thanks all to those who contributed to make this release! ❤️
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codeceptjs" ,
3
- "version" : " 3.6.4 " ,
3
+ "version" : " 3.6.5 " ,
4
4
"description" : " Supercharged End 2 End Testing Framework for NodeJS" ,
5
5
"keywords" : [
6
6
" acceptance" ,
Original file line number Diff line number Diff line change @@ -302,9 +302,9 @@ describe('Locator', () => {
302
302
303
303
it ( 'should transform CSS having has pseudo to xpath' , ( ) => {
304
304
const l = new Locator ( '#submit-element:has(button)' , 'css' )
305
- const convertedXpath = l . toXPath ( ) ;
305
+ const convertedXpath = l . toXPath ( )
306
306
const nodes = xpath . select ( l . toXPath ( ) , doc )
307
- expect ( convertedXpath ) . to . equal ( ' .//*[(./@id = \ 'submit-element\ ' and .//button)]' )
307
+ expect ( convertedXpath ) . to . equal ( " .//*[(./@id = 'submit-element' and .//button)]" )
308
308
expect ( nodes ) . to . have . length ( 1 )
309
309
expect ( nodes [ 0 ] . firstChild . data . trim ( ) ) . to . eql ( '' )
310
310
} )
You can’t perform that action at this time.
0 commit comments