10 lines
325 B
TypeScript
10 lines
325 B
TypeScript
import { expect } from '@playwright/test';
|
|
import {test} from "obsidian-testing-framework"
|
|
test('something', async ({ page }) => {
|
|
expect(page).toHaveURL(/obsidian\.md/i);
|
|
});
|
|
test("idk", async({app}) => {
|
|
let thing = app.metadataCache.getFirstLinkpathDest("Welcome", ".");
|
|
expect(thing?.basename).toEqual("Welcome");
|
|
})
|