test: Use server on 5000 port for test pictures (#32304)

We've introduced a new Node express server on TED at port 5000, which
runs Postgraphile, as well as serves the test static assets. This PR
switches to use that endpoint for test static assets.
This commit is contained in:
Shrikant Sharat Kandula 2024-04-02 10:26:45 +05:30 committed by GitHub
parent 834c0f8280
commit fc4100b747
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ describe(
cy.openPropertyPane("imagewidget");
// Invalid image url
const invalidImageUrl =
"http://host.docker.internal:8001/photo-not-exists.jpeg";
"http://host.docker.internal:5000/photo-not-exists.jpeg";
cy.testCodeMirror(invalidImageUrl);
// Show off error message

View File

@ -84,9 +84,9 @@ export class DataManager {
"http://host.docker.internal:5001/v1/whatdoestrumpthink/random",
mockHttpCodeUrl: "http://host.docker.internal:5001/v1/mock-http-codes/",
flowerImageUrl1:
"http://host.docker.internal:8001/photo-1503469432756-4aae2e18d881.jpeg",
"http://host.docker.internal:5000/photo-1503469432756-4aae2e18d881.jpeg",
flowerImageUrl2:
"http://host.docker.internal:8001/photo-1492529029602-33e53698f407.jpeg",
"http://host.docker.internal:5000/photo-1492529029602-33e53698f407.jpeg",
AirtableBaseForME: "appubHrVbovcudwN6",
AirtableTableForME: "tblsFCQSskVFf7xNd",
ApiUrlME: "http://host.docker.internal:5001/v1/production",