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

feature(FR-393): add e2e test for maintenance page #3074

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nowgnuesLee
Copy link
Contributor

resolves #3041, (FR-393)

changes

  • Added test cases for Rescan Images and Recalculate Usage on the maintenance page.
  • Added functions in test-util-antd.ts to retrieve notification text.

Checklist:

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

Copy link

graphite-app bot commented Jan 23, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

await expect(getNotificationDescriptionBox(page)).toContainText(
'Rescanning...',
);
await expect(getNotificationDescriptionBox(page)).toContainText(
Copy link
Member

Choose a reason for hiding this comment

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

The rescan process can take longer than the default test timeout of 5 seconds, so this test can easily fail.

image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M 30~100 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2E test for maintenance page
2 participants