diff --git a/checkout/src/arquivos/js/components/Footer.js b/checkout/src/arquivos/js/components/Footer.js index 147e74e..643f851 100644 --- a/checkout/src/arquivos/js/components/Footer.js +++ b/checkout/src/arquivos/js/components/Footer.js @@ -7,21 +7,15 @@ export default class Footer { async init() { await this.selectors(); - //this.onUpdate(); - // await this.hideCartTitle(); this.addCreditCards(); this.addCredits(); this.createPrateleira(); await this.addCarrossel(); - // this.changeButtonText(); } async selectors() { - //Para verificar se o carrinho está vazio e remover a prateleira de produtos: - // vocês devem olhar a doc fornecida no Desafio para aprender a usar o waitElement this.checkoutVazio = await waitElement(".empty-cart-content"); this.checkoutTitle = await waitElement("#cart-title"); - // this.productName = await waitElement("#product-name"); this.creditCardSection = await waitElement(".footerCheckout__stamps"); this.creditsSection = await waitElement(".footerCheckout__developedBy");