-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: e2e tests fix, better logging (#1713)
- Fixes the e2e tests in regard to the new [apify.com](apify.com) structure - `stdout` + `stderr` from `execSync` in the e2e tests are UTF-8 decoded now, no more byte arrays in error logs - All e2e tests now have the new `.actor/actor.json` structure - This was causing the PLATFORM issue, the new `apify-cli` version automatically transforms the old config, but requires confirmation - no interactive shell, no show, I guess 🤷🏻 TODO: - random platform tests still failing, mostly because of request timeouts - seems more like a platform issue though
- Loading branch information
Showing
61 changed files
with
92 additions
and
63 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
.../automatic-persist-value/actor/apify.json → ...tic-persist-value/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-automatic-persist-value", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
...ing-max-tasks-per-minute/actor/apify.json → ...-tasks-per-minute/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/e2e/cheerio-default-ts/actor/apify.json → ...heerio-default-ts/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-default-ts", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
test/e2e/cheerio-default/actor/apify.json → ...e/cheerio-default/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-default", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
...2e/cheerio-enqueue-links/actor/apify.json → ...rio-enqueue-links/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-enqueue-links", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
...heerio-ignore-ssl-errors/actor/apify.json → ...ignore-ssl-errors/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-ignore-ssl-errors", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
.../cheerio-initial-cookies/actor/apify.json → ...o-initial-cookies/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-initial-cookies", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
...e2e/cheerio-max-requests/actor/apify.json → ...erio-max-requests/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-max-requests", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/e2e/cheerio-page-info/actor/apify.json → ...cheerio-page-info/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-page-info", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...erio-throw-on-ssl-errors/actor/apify.json → ...row-on-ssl-errors/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-cheerio-throw-on-ssl-errors", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
test/e2e/input-json5/actor/apify.json → test/e2e/input-json5/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-input-json5", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
test/e2e/jsdom-default-ts/actor/apify.json → .../jsdom-default-ts/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-jsdom-default-ts", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
test/e2e/jsdom-react-ts/actor/apify.json → ...2e/jsdom-react-ts/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-jsdom-react-ts", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
1 change: 1 addition & 0 deletions
1
test/e2e/migration/actor/apify.json → test/e2e/migration/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-migration", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...-experimental-containers/actor/apify.json → ...mental-containers/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/e2e/playwright-default/actor/apify.json → ...laywright-default/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-playwright-default", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...playwright-enqueue-links/actor/apify.json → ...ght-enqueue-links/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-playwright-enqueue-links", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...-experimental-containers/actor/apify.json → ...mental-containers/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...aywright-initial-cookies/actor/apify.json → ...t-initial-cookies/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-playwright-initial-cookies", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/e2e/proxy-rotation/actor/apify.json → ...2e/proxy-rotation/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-proxy-rotation", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/e2e/puppeteer-default/actor/apify.json → ...puppeteer-default/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-puppeteer-default", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../puppeteer-enqueue-links/actor/apify.json → ...eer-enqueue-links/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-puppeteer-enqueue-links", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...peteer-ignore-ssl-errors/actor/apify.json → ...ignore-ssl-errors/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-puppeteer-ignore-ssl-errors", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...uppeteer-initial-cookies/actor/apify.json → ...r-initial-cookies/actor/.actor/actor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"actorSpecification": 1, | ||
"name": "test-puppeteer-initial-cookies", | ||
"version": "0.0", | ||
"buildTag": "latest", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.