refactor: update document section title from 'Local Documents' to 'Your Documents'
This commit is contained in:
parent
5ea9aa7474
commit
21030f28eb
2 changed files with 3 additions and 3 deletions
|
|
@ -308,7 +308,7 @@ export function DocumentList() {
|
||||||
<DndProvider backend={HTML5Backend}>
|
<DndProvider backend={HTML5Backend}>
|
||||||
<div className="w-full mx-auto">
|
<div className="w-full mx-auto">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<h2 className="text-lg sm:text-xl font-semibold text-foreground">Local Documents</h2>
|
<h2 className="text-lg sm:text-xl font-semibold text-foreground">Your Documents</h2>
|
||||||
<SortControls
|
<SortControls
|
||||||
sortBy={sortBy}
|
sortBy={sortBy}
|
||||||
sortDirection={sortDirection}
|
sortDirection={sortDirection}
|
||||||
|
|
|
||||||
|
|
@ -113,13 +113,13 @@ test.describe('Document Upload Tests', () => {
|
||||||
await clickDocumentLink(page, 'sample.pdf');
|
await clickDocumentLink(page, 'sample.pdf');
|
||||||
await expectViewerForFile(page, 'sample.pdf');
|
await expectViewerForFile(page, 'sample.pdf');
|
||||||
await page.goBack();
|
await page.goBack();
|
||||||
await expect(page.getByText('Local Documents')).toBeVisible({ timeout: 10000 });
|
await expect(page.getByText('Your Documents')).toBeVisible({ timeout: 10000 });
|
||||||
|
|
||||||
// EPUB navigation and viewer
|
// EPUB navigation and viewer
|
||||||
await clickDocumentLink(page, 'sample.epub');
|
await clickDocumentLink(page, 'sample.epub');
|
||||||
await expectViewerForFile(page, 'sample.epub');
|
await expectViewerForFile(page, 'sample.epub');
|
||||||
await page.goBack();
|
await page.goBack();
|
||||||
await expect(page.getByText('Local Documents')).toBeVisible({ timeout: 10000 });
|
await expect(page.getByText('Your Documents')).toBeVisible({ timeout: 10000 });
|
||||||
|
|
||||||
// TXT navigation and viewer (HTML viewer)
|
// TXT navigation and viewer (HTML viewer)
|
||||||
await clickDocumentLink(page, 'sample.txt');
|
await clickDocumentLink(page, 'sample.txt');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue