This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,24 @@ steps:
1313 submodules : true
1414 persistCredentials : false
1515
16+ - task : PowerShell@2
17+ displayName : ' Remove WebDriverIO Workaround'
18+ inputs :
19+ targetType : ' inline'
20+ script : ' ((Get-Content -path packages/webdriverio/package.json -Raw) -replace ".*webdriver.git.*","") | Set-Content -Path packages/webdriverio/package.json'
21+
1622 - task : CmdLine@2
1723 displayName : yarn install
1824 inputs :
1925 script : yarn install
2026 condition :
2127
22- - task : DeleteFiles@1
23- displayName : Delete webdriver from webdriverio to workaround WinAppDriverBug
28+ - task : PowerShell@2
29+ displayName : ' Patch WebDriverIO '
2430 inputs :
25- SourceFolder : node_modules\webdriverio\node_modules
26- Contents : webdriver
27-
31+ targetType : ' inline '
32+ script : ' ((Get-Content -path node_modules/ webdriver/build/utils.js -Raw) -replace "if \(!body .*","if (!body) {") | Set-Content -Path node_modules/webdriver/build/utils.js '
33+
2834 - template : templates/buildTestApp.yml
2935
3036 - template : templates/deployTestApp.yml
You can’t perform that action at this time.
0 commit comments