Skip to content

Commit

Permalink
[BUMP] Update dependency @1024pix/ember-testing-library to v3 (mon-pix)
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Jul 19, 2024
2 parents 39bd4a9 + bd9474d commit 94b6e36
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 199 deletions.
206 changes: 10 additions & 196 deletions mon-pix/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mon-pix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"devDependencies": {
"@1024pix/ember-api-actions": "^1.1.0",
"@1024pix/ember-matomo-tag-manager": "^2.4.3",
"@1024pix/ember-testing-library": "^2.0.7",
"@1024pix/ember-testing-library": "^3.0.1",
"@1024pix/eslint-config": "^1.3.7",
"@1024pix/pix-ui": "^46.12.6",
"@1024pix/stylelint-config": "^5.1.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module('Integration | Component | Module | Details', function (hooks) {

// then
assert.ok(screen.getByRole('heading', { name: module.title, level: 1 }));
assert.ok(screen.getByRole('img').hasAttribute('src', module.details.image));
assert.ok(screen.getByRole('presentation').hasAttribute('src', module.details.image));
assert.ok(screen.getByText(module.details.description));
assert.ok(screen.getByText(`${module.details.duration} min`));
assert.ok(screen.getByText(module.details.level));
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/tests/integration/components/steps_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module('Integration | Component | steps', function (hooks) {
.exists();
assert.dom(screen.getByRole('heading', { name: 'Le nombre de questions ?', level: 3 })).exists();
assert.dom(screen.getByRole('heading', { name: 'La durée du test ?', level: 3 })).exists();
const images = screen.getAllByRole('img');
const images = screen.getAllByRole('presentation');
assert.strictEqual(
images[0].getAttribute('src'),
'/images/illustrations/certification-instructions-steps/clock.svg',
Expand Down

0 comments on commit 94b6e36

Please sign in to comment.