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