Skip to content

Commit 03b9ba2

Browse files
mfilipcblanc
authored andcommitted
update
1 parent 2835440 commit 03b9ba2

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/ci-bindings.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
project: ./test/snapshot
4040
env:
4141
CYPRESS_API_KEY: ${{ secrets.API_KEY }}
42-
CYPRESS_MAGENTO_VERSION: "2.3"
42+
CYPRESS_MAGENTO_VERSION: "2.4"

test/snapshot/cypress/support/index.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ const loadScript = async (url: string, { document }: Window): Promise<void> => {
8282
Cypress.Commands.add("setup", (url, postcodeLookup, customFields) => {
8383
cy.visit(url, {
8484
onBeforeLoad: (window) => {
85-
console.log(url, postcodeLookup);
8685
window.idpcConfig = {
8786
apiKey: Cypress.env("API_KEY"),
8887
populateOrganisation: true,
@@ -92,10 +91,10 @@ Cypress.Commands.add("setup", (url, postcodeLookup, customFields) => {
9291
postcodeLookupOverride: {
9392
checkKey: false,
9493
},
95-
// @ts-ignore
96-
defaultCountry: "GB",
9794
autocompleteOverride: {
9895
checkKey: false,
96+
defaultCountry: "GBR",
97+
detectCountry: false,
9998
},
10099
// @ts-ignore
101100
customFields: customFields || [],

test/snapshot/fixtures/admin.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/snapshot/fixtures/store.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)