Skip to content

The OSINT investigator's workbench. One case, one folder, every tool. Local-first: your media and your investigations never leave your machine.

JavaScript

Read the copy the tools now say, not the copy they used to (#61)

OsintMeThat42429cbfbd8f
diff --git a/frontend/e2e/board.spec.js b/frontend/e2e/board.spec.js
index 27acbcf..6e62403 100644
--- a/frontend/e2e/board.spec.js
+++ b/frontend/e2e/board.spec.js
@@ -481,7 +481,9 @@ test('explains the vocabulary where it uses it', async ({ page }) => {
await expect(families.getByTitle(claimReads)).toBeVisible();
await families.getByTitle(claimReads).click();
// And the resulting chip keeps the axis explanation reachable.
- await expect(page.getByTitle(/the broad reading: who, what, where — click to change it/i)).toBeVisible();
+ await expect(
+ page.locator('.chips').getByTitle(/the broad reading: who, what, where/i)
+ ).toBeVisible();
// and the create menu says what the type it is about to file actually is
await page.getByRole('button', { name: 'New entity' }).click();
diff --git a/frontend/e2e/graph.spec.js b/frontend/e2e/graph.spec.js
index 2a25ceb..4b5ceee 100644
--- a/frontend/e2e/graph.spec.js
+++ b/frontend/e2e/graph.spec.js
@@ -883,7 +883,7 @@ async function trace(page, name) {
async function askFrom(page, name) {
await pick(page, name);
await page.getByRole('button', { name: 'Path to…' }).click();
- await expect(page.locator('.walk')).toContainText('click the other end');
+ await expect(page.locator('.walk')).toContainText('Click the other end');
}
const steps = (page) => page.locator('.said-path .node');