magnificent-finland-58048
06/23/2022, 4:12 PMable-gold-91287
06/23/2022, 4:14 PMjs
beforeEach(() => {
cy.intercept('POST', '/administration/integrations/gtm/').as('saveGTM')
cy.login(Cypress.env('admin_username'))
cy.visit('/dashboard')
cy.contains('a', 'Account Menu').click()
cy.contains('a', 'Admin').click()
cy.contains('a', 'Site Settings').click()
cy.contains('a', 'Integrations').click()
cy.contains('h1', 'Active Integrations')
cy.contains('Google Tag Manager')
.parents('.card')
.as('googleTagManagerCard')
})
able-gold-91287
06/23/2022, 4:15 PMmagnificent-finland-58048
06/23/2022, 4:16 PMable-gold-91287
06/23/2022, 4:19 PMit
block is actually re-running after the the Save button click initiates the postable-gold-91287
06/23/2022, 4:20 PMmagnificent-finland-58048
06/23/2022, 4:20 PMable-gold-91287
06/23/2022, 4:21 PMjson
{
"baseUrl": "http://127.0.0.1:8000",
"env": {
"admin_username": "adminuser@tcmail.com",
able-gold-91287
06/23/2022, 4:22 PMable-gold-91287
06/23/2022, 4:27 PMmagnificent-finland-58048
06/23/2022, 7:01 PM