import { TestBed } from '@angular/core/testing';

import { TelepagosPaymentContentComponent } from './telepagos-payment-content.component';

describe('TelepagosPaymentContentComponent', () => {
  it('shows the TelePagos download options', async () => {
    await TestBed.configureTestingModule({
      imports: [TelepagosPaymentContentComponent]
    }).compileComponents();

    const fixture = TestBed.createComponent(TelepagosPaymentContentComponent);
    fixture.detectChanges();

    const text = fixture.nativeElement.textContent as string;
    expect(text).toContain('Descarga la app de TelePagos');
    expect(text).toContain('Google Play');
    expect(text).toContain('App Store');
    expect(fixture.nativeElement.querySelectorAll('.store-badge')).toHaveLength(2);
  });
});
