@shopware-ag/acceptance-test-suite 11.10.1 → 11.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -285,7 +285,7 @@ const _AdminApiContext = class _AdminApiContext {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
__publicField$Y(_AdminApiContext, "defaultOptions", {
|
|
288
|
-
app_url: process.env["APP_URL"],
|
|
288
|
+
app_url: process.env["ADMIN_API_URL"] || process.env["APP_URL"],
|
|
289
289
|
client_id: process.env["SHOPWARE_ACCESS_KEY_ID"],
|
|
290
290
|
client_secret: process.env["SHOPWARE_SECRET_ACCESS_KEY"],
|
|
291
291
|
admin_username: process.env["SHOPWARE_ADMIN_USERNAME"] || "admin",
|
|
@@ -6847,7 +6847,7 @@ const SaveProduct = test$f.extend({
|
|
|
6847
6847
|
const task = () => {
|
|
6848
6848
|
return async function SaveProduct2() {
|
|
6849
6849
|
await AdminProductDetail.savePhysicalProductButton.click();
|
|
6850
|
-
const response = await AdminProductDetail.page.waitForResponse(`${process.env["APP_URL"]}api/_action/sync`);
|
|
6850
|
+
const response = await AdminProductDetail.page.waitForResponse(`${process.env["ADMIN_API_URL"] || process.env["APP_URL"]}api/_action/sync`);
|
|
6851
6851
|
expect(response.ok()).toBeTruthy();
|
|
6852
6852
|
await ShopAdmin.expects(AdminProductDetail.savePhysicalProductButton).toBeVisible();
|
|
6853
6853
|
await ShopAdmin.expects(AdminProductDetail.savePhysicalProductButton).toContainText("Save");
|