Add clipping provenance status stamps
This commit is contained in:
@@ -56,6 +56,7 @@ test('pasting, connecting, and citing one patent screenshot completes the Scene
|
||||
await expect(page.locator('.source-file-widget')).toHaveCount(1)
|
||||
await expect(page.locator('.source-file-widget')).toHaveAttribute('data-capture-kind','clipping')
|
||||
await expect(page.locator('.source-file-widget > strong')).toHaveCount(0)
|
||||
await expect(page.locator('.clip-provenance')).toHaveText('ADD DATE + SOURCE')
|
||||
await expect(page.locator('.source-file-widget')).toHaveClass(/\barriving\b/)
|
||||
await expect(page.locator('.goal-complete-card')).toHaveCount(0)
|
||||
await expect(page.locator('.evidence-card.claim')).toContainText('Nils Aall Barricelli was an inventor')
|
||||
@@ -77,6 +78,7 @@ test('pasting, connecting, and citing one patent screenshot completes the Scene
|
||||
await page.getByLabel('Source URL').fill('https://patents.google.com/patent/GB695913A/en')
|
||||
await page.getByRole('button',{ name:'SAVE METADATA' }).click()
|
||||
await expect(page.locator('.file-editor')).toHaveCount(0)
|
||||
await expect(page.locator('.clip-provenance')).toHaveText('SOURCE RECORDED')
|
||||
await page.getByRole('button',{ name:'FILE',exact:true }).click()
|
||||
await page.getByRole('menuitem',{ name:/INFO/ }).click()
|
||||
await expect(page.getByLabel('Document title')).toHaveValue('Google Patents · GB695913A')
|
||||
|
||||
Reference in New Issue
Block a user