Skip to content

Commit

Permalink
chore: update TestCafe to 3.2.0; update testcafe-hammerhead
Browse files Browse the repository at this point in the history
  • Loading branch information
uid11 committed Aug 28, 2023
1 parent b82d5f0 commit 7c9329c
Show file tree
Hide file tree
Showing 7 changed files with 287 additions and 295 deletions.
4 changes: 3 additions & 1 deletion autotests/pageObjects/pages/Search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export class Search extends MobilePage<CustomPageParams> {
await waitForAllRequestsComplete(({url}) => {
if (
url.startsWith('https://adservice.google.com/') ||
url.startsWith('https://play.google.com/')
url.startsWith('https://googleads.g.doubleclick.net/') ||
url.startsWith('https://play.google.com/') ||
url.startsWith('https://static.doubleclick.net/')
) {
return false;
}
Expand Down
1 change: 0 additions & 1 deletion bin/forks/testcafe-without-typecheck/transform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ set -eu
./bin/forks/testcafe-without-typecheck/transforms/removePrepublish.sh

./bin/forks/testcafe-without-typecheck/transforms/setReadme.sh
./bin/forks/testcafe-without-typecheck/transforms/removeChangelog.sh

./bin/forks/testcafe-without-typecheck/transforms/disableTypeCheck.sh
./bin/forks/testcafe-without-typecheck/transforms/exportRunTestCafePromiseFromCli.sh
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sed -i "s|\x22@types/node\x22: \x22[^\x22]*\x22,||" ./bin/forks/testcafe-without
sed -i "s/\x22bin-v8-flags-filter\x22: \x22[^\x22]*\x22,/\x22bin-v8-flags-filter\x22: \x221.2.0\x22,/" ./bin/forks/testcafe-without-typecheck/package/package.json
sed -i "s/\x22globby\x22: \x22[^\x22]*\x22,/\x22globby\x22: \x2211.1.0\x22,/" ./bin/forks/testcafe-without-typecheck/package/package.json
sed -i "s/\x22pngjs\x22: \x22[^\x22]*\x22,/\x22pngjs\x22: \x227.0.0\x22,/" ./bin/forks/testcafe-without-typecheck/package/package.json
sed -i "s/\x22testcafe-hammerhead\x22: \x22[^\x22]*\x22,/\x22testcafe-hammerhead-up\x22: \x2231.4.6-rc.1\x22,/" ./bin/forks/testcafe-without-typecheck/package/package.json
sed -i "s/\x22testcafe-hammerhead\x22: \x22[^\x22]*\x22,/\x22testcafe-hammerhead-up\x22: \x2231.4.15-rc.1\x22,/" ./bin/forks/testcafe-without-typecheck/package/package.json
sed -i "s|\x22testcafe-reporter-spec\x22: \x22[^\x22]*\x22,|\x22testcafe-reporter-for-e2ed\x22: \x220.0.4\x22,|" ./bin/forks/testcafe-without-typecheck/package/package.json
sed -i "s/\x22typescript\x22: \x22[^\x22]*\x22,//" ./bin/forks/testcafe-without-typecheck/package/package.json

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ sed -i "s/global {/export namespace Inner {/" ./bin/forks/testcafe-without-typec

sed -ri "s/export const ([^:]*): /export const \1: Inner./" ./bin/forks/testcafe-without-typecheck/package/ts-defs/index.d.ts

sed -ri "s/Inner.string/string/" ./bin/forks/testcafe-without-typecheck/package/ts-defs/index.d.ts

sed -i "s/const createTestCafe: /const createTestCafe: Inner./" ./bin/forks/testcafe-without-typecheck/package/ts-defs/index.d.ts

sed -i "s/declare const fixture: [^;]*;//" ./bin/forks/testcafe-without-typecheck/package/ts-defs/index.d.ts
Expand Down
Loading

0 comments on commit 7c9329c

Please sign in to comment.