mobile: fix and update tests

This commit is contained in:
Ammar Ahmed
2026-01-27 12:02:20 +05:00
parent 496f9ba340
commit 605e75efb3
2 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ describe("NOTE TESTS", () => {
.run();
});
it.only("Assign colors to a note", async () => {
it("Assign colors to a note", async () => {
await TestBuilder.create()
.prepare()
.createNote()

View File

@@ -21,7 +21,7 @@ import { notesnook } from "../test.ids";
import { TestBuilder } from "./utils";
describe("Sort & filter", () => {
it("Sort by date-edited/date-created", async () => {
it.only("Sort by date-edited/date-created", async () => {
await TestBuilder.create()
.prepare()
.createNote("Note 1", "Note 1")
@@ -34,7 +34,7 @@ describe("Sort & filter", () => {
.element(by.web.className("ProseMirror"))
.typeText("Edited ", true);
})
.pressBack(2)
.pressBack(1)
.waitAndTapById("icon-sort")
.wait(500)
.waitAndTapByText("Date created")