Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Braimllari committed May 5, 2024
1 parent cabdfab commit c433cd7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions cypress/e2e/markings-board.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
describe("markings board", () => {
beforeEach(() => {
cy.visit("/");
});

it("should ...", () => {
});
});
8 changes: 6 additions & 2 deletions cypress/e2e/selecting-all-doesnt-mark-editor.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ describe("Selecting All Text Test", () => {
cy.get('[data-test="editor"]').type("gabmim ");
cy.get('[data-test="dismiss-marking-button"]').click();
cy.get('[data-test="suggestion"]').should("not.exist");

cy.get('[data-test="editor"]').type("{selectall}");
// waiting to see if any marking will be made
cy.wait(2000)

cy.get(".typo-marking-header").should("be.visible");
cy.get(".list-group-item b")
.contains("shkrim pa gabime")
.should("exist");
.should("be.visible");
cy.get(".list-group-item span")
.contains(
"shenjime për fjalë të shkruara gabim, gabime fonetikore, shenja pikësimi"
)
.should("exist");
.should("be.visible");
});
});

0 comments on commit c433cd7

Please sign in to comment.