mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
Merge pull request #712 from toeverything/chore/update-Copyright-year
chore: update copyright year
This commit is contained in:
@@ -76,6 +76,8 @@ export const ContactModal = ({
|
|||||||
link: 'https://community.affine.pro',
|
link: 'https://community.affine.pro',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
const date = new Date();
|
||||||
|
const year = date.getFullYear();
|
||||||
return (
|
return (
|
||||||
<Modal open={open} onClose={onClose} data-testid="contact-us-modal-content">
|
<Modal open={open} onClose={onClose} data-testid="contact-us-modal-content">
|
||||||
<ModalWrapper
|
<ModalWrapper
|
||||||
@@ -135,7 +137,7 @@ export const ContactModal = ({
|
|||||||
{t('How is AFFiNE Alpha different?')}
|
{t('How is AFFiNE Alpha different?')}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<p>Copyright © 2022 Toeverything</p>
|
<p>Copyright © {year} Toeverything</p>
|
||||||
</StyledModalFooter>
|
</StyledModalFooter>
|
||||||
</ModalWrapper>
|
</ModalWrapper>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import { getWarningMessage, shouldShowWarning } from './utils';
|
|||||||
import EditorOptionMenu from './header-right-items/EditorOptionMenu';
|
import EditorOptionMenu from './header-right-items/EditorOptionMenu';
|
||||||
import TrashButtonGroup from './header-right-items/TrashButtonGroup';
|
import TrashButtonGroup from './header-right-items/TrashButtonGroup';
|
||||||
import ThemeModeSwitch from './header-right-items/theme-mode-switch';
|
import ThemeModeSwitch from './header-right-items/theme-mode-switch';
|
||||||
import SyncUser from './header-right-items/SyncUser';
|
|
||||||
|
|
||||||
const BrowserWarning = ({
|
const BrowserWarning = ({
|
||||||
show,
|
show,
|
||||||
|
|||||||
@@ -5,9 +5,12 @@ export async function newPage(page: Page) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function clickPageMoreActions(page: Page) {
|
export async function clickPageMoreActions(page: Page) {
|
||||||
return page
|
return (
|
||||||
.getByTestId('editor-header-items')
|
page
|
||||||
.getByRole('button')
|
.getByTestId('editor-header-items')
|
||||||
.nth(2)
|
.getByRole('button')
|
||||||
.click();
|
//FIXME: temporary change due to cloud sync icon being hidden
|
||||||
|
.nth(1)
|
||||||
|
.click()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ test.describe('Login Flow', () => {
|
|||||||
.click();
|
.click();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Open login modal by click cloud-unsync-icon', async ({ page }) => {
|
test.skip('Open login modal by click cloud-unsync-icon', async ({ page }) => {
|
||||||
await page.getByTestId('cloud-unsync-icon').click();
|
await page.getByTestId('cloud-unsync-icon').click();
|
||||||
|
|
||||||
await page.waitForTimeout(800);
|
await page.waitForTimeout(800);
|
||||||
|
|||||||
Reference in New Issue
Block a user