chore: update skiped test (#933)

This commit is contained in:
JimmFly
2023-02-10 12:04:03 +08:00
committed by GitHub
parent 944c455c3d
commit 8615d4b3af
2 changed files with 10 additions and 35 deletions

View File

@@ -5,23 +5,6 @@ import { loadPage } from './libs/load-page.js';
loadPage();
test.describe('Open contact us', () => {
test.skip('Click about us', async ({ page }) => {
const currentWorkspace = page.getByTestId('current-workspace');
await currentWorkspace.click();
// await page.waitForTimeout(1000);
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]'
);
await expect(contactUsModal).toContainText('AFFiNE Community');
});
test('Click right-bottom corner contact icon', async ({ page }) => {
const faqIcon = page.locator('[data-testid=faq-icon]');
const box = await faqIcon.boundingBox();