Skip to content

Commit

Permalink
Updated tests for Woods cree, added entry to ensure passing in infras…
Browse files Browse the repository at this point in the history
…tructure.
  • Loading branch information
fbanados committed May 25, 2024
1 parent 184b7cd commit d6e9999
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/integration/cwdeng/basics.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ describe("The Woods Cree site", function () {
});

it("can search for a word", function () {
cy.visitSearch(`makes pottery`, urls.cwdeng).searchResultsContain(
"asiskīwithākanihkīw"
cy.visitSearch(`makes snowshoes`, urls.cwdeng).searchResultsContain(
"asāmīhkīw"
);
});

it("can display a paradigm", function () {
cy.visit(`${urls.cwdeng}/word/asiskīwithākanihkīw`);
cy.get(".paradigm-cell").contains("kitasiskīwithākanihkānaw");
cy.visit(`${urls.cwdeng}/word/asâmîhkîw`);
cy.get(".paradigm-cell").contains("kitasāmīhkānānaw");
});
});
12 changes: 12 additions & 0 deletions src/cwdeng/resources/dictionary/cwdeng_test_db.importjson
Original file line number Diff line number Diff line change
Expand Up @@ -1923,5 +1923,17 @@
}
],
"slug": "witha@p"
},
{
"head": "asâmîhkîw",
"linguistInfo": {
"inflectional_category": "VAI-1",
"stem": "asâmîhkî-",
"pos": "V",
"wordclass": "VAI"
},
"paradigm": "VAI",
"senses": [{ "definition": "he/she makes snowshoes", "sources": ["CCCD"] }],
"slug": "asâmîhkîw"
}
]

0 comments on commit d6e9999

Please sign in to comment.