Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mfilip committed Oct 31, 2023
1 parent 1da1f4a commit b52c85d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
project: ./test/snapshot
env:
CYPRESS_API_KEY: ${{ secrets.API_KEY }}
CYPRESS_MAGENTO_VERSION: "2.3"
CYPRESS_MAGENTO_VERSION: "2.4"
5 changes: 2 additions & 3 deletions test/snapshot/cypress/support/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ const loadScript = async (url: string, { document }: Window): Promise<void> => {
Cypress.Commands.add("setup", (url, postcodeLookup, customFields) => {
cy.visit(url, {
onBeforeLoad: (window) => {
console.log(url, postcodeLookup);
window.idpcConfig = {
apiKey: Cypress.env("API_KEY"),
populateOrganisation: true,
Expand All @@ -92,10 +91,10 @@ Cypress.Commands.add("setup", (url, postcodeLookup, customFields) => {
postcodeLookupOverride: {
checkKey: false,
},
// @ts-ignore
defaultCountry: "GB",
autocompleteOverride: {
checkKey: false,
defaultCountry: "GBR",
detectCountry: false,
},
// @ts-ignore
customFields: customFields || [],
Expand Down
2 changes: 1 addition & 1 deletion test/snapshot/fixtures/admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/snapshot/fixtures/store.js

Large diffs are not rendered by default.

0 comments on commit b52c85d

Please sign in to comment.