Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsCarousel is blocking tests #1934

Open
amiarSlimane opened this issue Jun 18, 2023 · 0 comments
Open

bsCarousel is blocking tests #1934

amiarSlimane opened this issue Jun 18, 2023 · 0 comments
Labels

Comments

@amiarSlimane
Copy link

amiarSlimane commented Jun 18, 2023

runing 'ember t' is getting blocked when arriving where i have used BsCarousel

{{!-- application.hbs --}}
<BsCarousel
  @autoPlay={{true}}
  @interval={{1500}}
  @showControls={{false}}
  @showIndicators={{false}}
  as |carousel|
>
   <carousel.slide>
    Verfügbarkeiten.
  </carousel.slide>
  <carousel.slide>
    Termine.
  </carousel.slide>
  <carousel.slide>
    Abwesenheiten.
  </carousel.slide>
  <carousel.slide>
    Urlaub.
  </carousel.slide>
</BsCarousel>
// application-test.js
import { module, test } from 'qunit';
import { visit, currentURL } from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';

module('Acceptance | application', function (hooks) {
  setupApplicationTest(hooks);

  test('visiting /', async function (assert) {
    await visit('/');

    assert.deepEqual(currentURL(), '/');
  });
});
"ember-source": "~3.28.11",
"ember-qunit": "^6.2.0",
"@ember/test-helpers": "^2.9.3",

for now i am not rendering it in tests to avoid the blocking

@jelhan jelhan added the bug label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants