Squash all commit from feat/cloud-sync

This commit is contained in:
DarkSky
2022-12-31 01:59:07 +08:00
parent ddf3305bc1
commit 582aed8744
19 changed files with 37 additions and 39 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ test.describe('Change page mode(Paper or Edgeless)', () => {
expect(await edgeless.isVisible()).toBe(true);
});
test.skip('Convert to edgeless by editor header items', async ({ page }) => {
test('Convert to edgeless by editor header items', async ({ page }) => {
await page
.getByTestId('editor-header-items')
.getByRole('button')
+9 -2
View File
@@ -4,11 +4,18 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe('Open contact us', () => {
test.skip('Click about us', async ({ page }) => {
test('Click about us', async ({ page }) => {
const currentWorkspace = page.getByTestId('current-workspace');
await currentWorkspace.click();
// await page.waitForTimeout(1000);
await page.getByText('About AFFiNE').click();
await page
.getByRole('tooltip', {
name: 'AFFiNE Log in to sync with affine About AFFiNE',
})
.locator('div')
.filter({ hasText: 'About AFFiNE' })
.nth(2)
.click();
const contactUsModal = page.locator(
'[data-testid=contact-us-modal-content]'
);
+1 -1
View File
@@ -4,7 +4,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe('Local first delete page', () => {
test.skip('New a page , then delete it in all pages, permanently delete it', async ({
test('New a page , then delete it in all pages, permanently delete it', async ({
page,
}) => {
await page.getByText('New Page').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Local first export page', () => {
test.describe('Local first export page', () => {
test('New a page ,then open it and export html', async ({ page }) => {
await page.getByText('New Page').click();
await page.getByPlaceholder('Title').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Local first favorite and cancel favorite page', () => {
test.describe('Local first favorite and cancel favorite page', () => {
test('New a page and open it ,then favorite it', async ({ page }) => {
await page.getByText('New Page').click();
await page.getByPlaceholder('Title').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Local first favorite items ui', () => {
test.describe('Local first favorite items ui', () => {
test('Show favorite items in sidebar', async ({ page }) => {
await page.getByText('New Page').click();
await page.getByPlaceholder('Title').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('local first new page', () => {
test.describe('local first new page', () => {
test('click btn new page', async ({ page }) => {
const originPageId = page.url().split('/').reverse()[0];
await page.getByText('New Page').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('local first new page', () => {
test.describe('local first new page', () => {
test('click btn bew page and open in tab', async ({ page }) => {
await page.getByText('New Page').click();
await page.getByPlaceholder('Title').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Local first delete page', () => {
test.describe('Local first delete page', () => {
test('New a page ,then open it and show delete modal', async ({ page }) => {
await page.getByText('New Page').click();
await page.getByPlaceholder('Title').click();
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Local first trash page', () => {
test.describe('Local first trash page', () => {
test('New a page , then delete it in all pages, finally find it in trash', async ({
page,
}) => {
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Local first default workspace', () => {
test.describe('Local first default workspace', () => {
test('Default workspace name', async ({ page }) => {
const workspaceName = page.getByTestId('workspace-name');
expect(await workspaceName.textContent()).toBe('AFFiNE');
+1 -1
View File
@@ -3,7 +3,7 @@ import { loadPage } from './libs/load-page';
loadPage();
test.describe.skip('Login Flow', () => {
test.describe('Login Flow', () => {
test('Open login modal by click current workspace', async ({ page }) => {
await page.getByTestId('current-workspace').click();
await page.waitForTimeout(800);