Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: simplify test #1379

Merged
merged 5 commits into from
Feb 26, 2023
Merged

refactor: simplify test #1379

merged 5 commits into from
Feb 26, 2023

Conversation

lawvs
Copy link
Member

@lawvs lawvs commented Feb 26, 2023

Use

  const rects = page.locator('.affine-page-selected-rects-container > *');
  await expect(rects).toHaveCount(1);

@lawvs lawvs requested a review from fundon February 26, 2023 07:57
@codesandbox
Copy link

codesandbox bot commented Feb 26, 2023

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@vercel
Copy link

vercel bot commented Feb 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 26, 2023 at 9:42AM (UTC)
blocksuite-react ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 26, 2023 at 9:42AM (UTC)

Copy link
Contributor

@fundon fundon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants