|
| 1 | +## 3.5.5 |
| 2 | + |
| 3 | +🐛 Bug Fixes |
| 4 | +* fix(browserstack): issue with vendor prefix (#3845) - by @KobeNguyenT |
| 5 | +``` |
| 6 | +export const caps = { |
| 7 | + androidCaps: { |
| 8 | + appiumV2: true, |
| 9 | + host: "hub-cloud.browserstack.com", |
| 10 | + port: 4444, |
| 11 | + user: process.env.BROWSERSTACK_USER, |
| 12 | + key: process.env.BROWSERSTACK_KEY, |
| 13 | + 'app': `bs://c700ce60cf13ae8ed97705a55b8e022f1hjhkjh3c5827c`, |
| 14 | + browser: '', |
| 15 | + desiredCapabilities: { |
| 16 | + 'appPackage': data.packageName, |
| 17 | + 'deviceName': process.env.DEVICE || 'Google Pixel 3', |
| 18 | + 'platformName': process.env.PLATFORM || 'android', |
| 19 | + 'platformVersion': process.env.OS_VERSION || '10.0', |
| 20 | + 'automationName': process.env.ENGINE || 'UIAutomator2', |
| 21 | + 'newCommandTimeout': 300000, |
| 22 | + 'androidDeviceReadyTimeout': 300000, |
| 23 | + 'androidInstallTimeout': 90000, |
| 24 | + 'appWaitDuration': 300000, |
| 25 | + 'autoGrantPermissions': true, |
| 26 | + 'gpsEnabled': true, |
| 27 | + 'isHeadless': false, |
| 28 | + 'noReset': false, |
| 29 | + 'noSign': true, |
| 30 | + 'bstack:options' : { |
| 31 | + "appiumVersion" : "2.0.1", |
| 32 | + }, |
| 33 | + } |
| 34 | + }, |
| 35 | +} |
| 36 | +``` |
| 37 | + |
| 38 | +* switchTo/within now supports strict locator (#3847) - by @KobeNguyenT |
| 39 | + |
| 40 | +``` |
| 41 | +I.switchTo({ css: 'iframe[id^=number-frame]' }) // support the strict locator |
| 42 | +
|
| 43 | +I.amOnPage('/iframe'); |
| 44 | +within({ |
| 45 | + frame: { css: '#number-frame-1234' }, // support the strict locator |
| 46 | +}, () => { |
| 47 | + I.fillField('user[login]', 'User'); |
| 48 | + I.fillField('user[email]', 'user@user.com'); |
| 49 | + I.fillField('user[password]', 'user@user.com'); |
| 50 | + I.click('button'); |
| 51 | +}); |
| 52 | +``` |
| 53 | + |
| 54 | +* Improve the IntelliSense when using other languages (#3848) - by @andonary |
| 55 | +``` |
| 56 | + include: { |
| 57 | + Je: './steps_file.js' |
| 58 | + } |
| 59 | +``` |
| 60 | + |
| 61 | +* bypassCSP support for Playwright helper (#3865) - by @sammeel |
| 62 | +``` |
| 63 | + helpers: { |
| 64 | + Playwright: { |
| 65 | + bypassCSP: true |
| 66 | + } |
| 67 | +``` |
| 68 | +* fix: missing requests when recording network (#3834) - by @KobeNguyenT |
| 69 | + |
| 70 | +🛩️ Features and Improvements |
| 71 | +* Show environment info in verbose mode (#3858) - by @KobeNguyenT |
| 72 | + |
| 73 | +``` |
| 74 | +Environment information:- |
| 75 | +
|
| 76 | +codeceptVersion: "3.5.4" |
| 77 | +nodeInfo: 18.16.0 |
| 78 | +osInfo: macOS 13.5 |
| 79 | +cpuInfo: (8) arm64 Apple M1 Pro |
| 80 | +chromeInfo: 116.0.5845.179 |
| 81 | +edgeInfo: 116.0.1938.69 |
| 82 | +firefoxInfo: Not Found |
| 83 | +safariInfo: 16.6 |
| 84 | +helpers: { |
| 85 | +"Playwright": { |
| 86 | +"url": "https://github.com", |
| 87 | +"show": false, |
| 88 | +"browser": "chromium", |
| 89 | +"waitForNavigation": "load", |
| 90 | +"waitForTimeout": 30000, |
| 91 | +"trace": false, |
| 92 | +"keepTraceForPassedTests": true |
| 93 | +}, |
| 94 | +"CDPHelper": { |
| 95 | +"require": "./helpers/CDPHelper.ts" |
| 96 | +}, |
| 97 | +"OpenAI": { |
| 98 | +"chunkSize": 8000 |
| 99 | +}, |
| 100 | +"ExpectHelper": { |
| 101 | +"require": "codeceptjs-expect" |
| 102 | +}, |
| 103 | +"REST": { |
| 104 | +"endpoint": "https://reqres.in", |
| 105 | +"timeout": 20000 |
| 106 | +}, |
| 107 | +"AllureHelper": { |
| 108 | +"require": "./helpers/AllureHelper.ts" |
| 109 | +} |
| 110 | +} |
| 111 | +plugins: { |
| 112 | +"screenshotOnFail": { |
| 113 | +"enabled": true |
| 114 | +}, |
| 115 | +"tryTo": { |
| 116 | +"enabled": true |
| 117 | +}, |
| 118 | +"retryFailedStep": { |
| 119 | +"enabled": true |
| 120 | +}, |
| 121 | +"retryTo": { |
| 122 | +"enabled": true |
| 123 | +}, |
| 124 | +"eachElement": { |
| 125 | +"enabled": true |
| 126 | +}, |
| 127 | +"pauseOnFail": {} |
| 128 | +} |
| 129 | +*************************************** |
| 130 | +If you have questions ask them in our Slack: http://bit.ly/chat-codeceptjs |
| 131 | +Or ask them on our discussion board: https://codecept.discourse.group/ |
| 132 | +Please copy environment info when you report issues on GitHub: https://github.com/Codeception/CodeceptJS/issues |
| 133 | +*************************************** |
| 134 | +CodeceptJS v3.5.4 #StandWithUkraine |
| 135 | +``` |
| 136 | + |
| 137 | +* some typings improvements (#3855) - by @nikzupancic |
| 138 | +* support the puppeteer 21.1.1 (#3856) - by @KobeNguyenT |
| 139 | +* fix: support secret value for some methods (#3837) - by @KobeNguyenT |
| 140 | + |
| 141 | +``` |
| 142 | +await I.amOnPage('/form/field_values'); |
| 143 | +await I.dontSeeInField('checkbox[]', secret('not seen one')); |
| 144 | +await I.seeInField('checkbox[]', secret('see test one')); |
| 145 | +await I.dontSeeInField('checkbox[]', secret('not seen two')); |
| 146 | +await I.seeInField('checkbox[]', secret('see test two')); |
| 147 | +await I.dontSeeInField('checkbox[]', secret('not seen three')); |
| 148 | +await I.seeInField('checkbox[]', secret('see test three')); |
| 149 | +``` |
| 150 | + |
| 151 | +🛩️ **Several bugfixes and improvements for Codecept-UI** |
| 152 | +* Mask the secret value in UI |
| 153 | +* Improve UX/UI |
| 154 | +* PageObjects are now showing in UI |
| 155 | + |
1 | 156 | ## 3.5.4
|
2 | 157 |
|
3 | 158 | 🐛 Bug Fixes:
|
|
0 commit comments