adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments

Fragments part of Mirage factories

Offen
#282 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
367
Forks
108
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a model with fragments, i want to create a `ember-cli-mirage` factory for the same model. I am not having any clue how can i make fragment part of the factory, because the fragment data is not populated in the model in my Acceptance tests but in development it's working fine.
Any help would be much appreciated!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the model's fragment definition and the ember-cli-mirage factory used by the acceptance test; compare that setup with the development data path. Reproduce the missing fragment data in the acceptance environment and identify the relevant test location. Done means the factory populates fragments in acceptance tests and the behavior has regression coverage.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
testing
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.