|
| 1 | +## 3.5.6 |
| 2 | + |
| 3 | +Thanks all to those who contributed to make this release! |
| 4 | + |
| 5 | +🐛 *Bug Fixes* |
| 6 | +* fix: switchTo/within block doesn't switch to expected iframe (#3892) - by @KobeNguyenT |
| 7 | +* fix: highlight element doesn't work as expected (#3896) - by @KobeNguyenT |
| 8 | +``` |
| 9 | + verbose/ highlight TRUE TRUE -> highlight element |
| 10 | + verbose/ highlight TRUE FALSE -> no highlight element |
| 11 | + verbose/ highlight FALSE TRUE -> no highlight element |
| 12 | + verbose/ highlight FALSE FALSE -> no highlight element |
| 13 | + ``` |
| 14 | +* fix: masked value issue in data table (#3885) - by @KobeNguyenT |
| 15 | +``` |
| 16 | +const accounts = new DataTable(['role', 'username', 'password']); |
| 17 | +accounts.add([ |
| 18 | + 'ROLE_A', |
| 19 | + process.env['FIRST_USERNAME'], |
| 20 | + secret(process.env['FIRST_PASSWORD']), |
| 21 | +]); |
| 22 | +accounts.add([ |
| 23 | + 'ROLE_B', |
| 24 | + process.env['SECOND_USERNAME'], |
| 25 | + secret(process.env['SECOND_PASSWORD']), |
| 26 | +]); |
| 27 | +
|
| 28 | +Data(accounts) |
| 29 | + .Scenario( |
| 30 | + 'ScenarioTitle', |
| 31 | + ({ I, pageObject, current }) => { |
| 32 | + I.say("Given I'am logged in"); |
| 33 | + I.amOnPage('/'); |
| 34 | + loginPage.**sendForm**(current.username, current.password); |
| 35 | + ) |
| 36 | + |
| 37 | + |
| 38 | + // output |
| 39 | + The test feature -- |
| 40 | + The scenario | {"username":"Username","password": ***} |
| 41 | + 'The real password: theLoggedPasswordInCleartext' |
| 42 | + I.fillField('somePasswordLocator', '****') |
| 43 | + ✔ OK in 7ms |
| 44 | +
|
| 45 | + The scenario | {"username":"theSecondUsername","password": ***} |
| 46 | + 'The real password: theLoggedPasswordInCleartext' |
| 47 | + I.fillField('somePasswordLocator', '****') |
| 48 | + ✔ OK in 1ms |
| 49 | +``` |
| 50 | + |
| 51 | +* fix: debug info causes error (#3882) - by @KobeNguyenT |
| 52 | + |
| 53 | +📖 *Documentation* |
| 54 | +* fix: get rid of complaining when using session without await and returning nothing. (#3899) - by @KobeNguyenT |
| 55 | +* fix(FileSystem): a typo in writeToFile() (#3897) - by @mirao |
| 56 | + |
| 57 | +🛩️ *Features* |
| 58 | +* feat(translation): add more french keywords and fix deprecated waitForClickable (#3906) - by @andonary |
| 59 | +``` |
| 60 | +- Add some french keywords for translation |
| 61 | +- I.waitForClickable has the same "attends" than I.wait. Using "attends" leads to use the deprecated waitForClickable. Fix it by using different words. |
| 62 | +``` |
| 63 | + |
1 | 64 | ## 3.5.5
|
2 | 65 |
|
3 | 66 | 🐛 Bug Fixes
|
|
0 commit comments