Skip to content

Commit

Permalink
🤖🧹 reformat JavaScript files [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados authored and actions-user committed Jun 24, 2024
1 parent 5a51f67 commit 8d03789
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions cypress/integration/crkeng/paradigm.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ describe("I want to search for a Cree word and see its inflectional paradigm", (
lemma: "mîcisow",
inflections: ["nimîcison", "kimîcison", "ê-mîcisoyit"],
},
{
pos: "VTI",
lemma: "mîciw",
inflections: ["nimîcin", "mîciwak", "ê-mîciniwahk"]
{
pos: "VTI",
lemma: "mîciw",
inflections: ["nimîcin", "mîciwak", "ê-mîciniwahk"],
},
{ pos: "VII", lemma: "nîpin", inflections: ["nîpin", "ê-nîpihk"] },
{ pos: "NDA", lemma: "nôhkom", inflections: ["kôhkom", "ohkoma"] },
Expand All @@ -36,7 +36,11 @@ describe("I want to search for a Cree word and see its inflectional paradigm", (
for (let { pos, lemma, inflections } of testCases) {
it(`should display the paradigm for a word belonging to the ${pos} word class`, () => {
cy.visitSearch(lemma);
cy.get("[data-cy=search-results]").contains(pos).closest("[data-cy=search-result]").contains("a", lemma).click();
cy.get("[data-cy=search-results]")
.contains(pos)
.closest("[data-cy=search-result]")
.contains("a", lemma)
.click();

cy.get("[data-cy=paradigm]").as("paradigm");

Expand Down

0 comments on commit 8d03789

Please sign in to comment.