Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ZEPPELIN-6373] Add E2E tests about share area#5114

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dididy wants to merge4 commits intoapache:master
base:master
Choose a base branch
Loading
fromdididy:e2e/share

Conversation

@dididy
Copy link
Contributor

What is this PR for?

ABOUT_ZEPPELIN:'src/app/share/about-zeppelin/about-zeppelin.component',
CODE_EDITOR:'src/app/share/code-editor/code-editor.component',
FOLDER_RENAME:'src/app/share/folder-rename/folder-rename.component',
HEADER:'src/app/share/header/header.component',
NODE_LIST:'src/app/share/node-list/node-list.component',
NOTE_CREATE:'src/app/share/note-create/note-create.component',
NOTE_IMPORT:'src/app/share/note-import/note-import.component',
NOTE_RENAME:'src/app/share/note-rename/note-rename.component',
NOTE_TOC:'src/app/share/note-toc/note-toc.component',
PAGE_HEADER:'src/app/share/page-header/page-header.component',
RESIZE_HANDLE:'src/app/share/resize-handle/resize-handle.component',
SHORTCUT:'src/app/share/shortcut/shortcut.component',
SPIN:'src/app/share/spin/spin.component',
THEME_TOGGLE:'src/app/share/theme-toggle/theme-toggle.component'

What type of PR is it?

Improvement
Please leave your type of PR only

Todos

What is the Jira issue?

ZEPPELIN-6373

How should this be tested?

Screenshots (if appropriate)

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@dididydididyforce-pushed thee2e/share branch 6 times, most recently fromece19b8 to8684e2cCompareNovember 6, 2025 01:04
Copy link
Contributor

@tboneleetbonelee left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Test scenarios look good and are clear.

I've also added several commits that remove unused codes. If they make sense to you, please feel free to incorporate them.
https://github.com/tbonelee/zeppelin/commits/PR_5114-refactor/

Thanks!

Comment on lines 49 to 92
test('Given Create Note modal is open, When entering custom note name and creating, Then new note should be created successfully', async ({
page
}) => {
const uniqueName = `Test Note ${Date.now()}`;
await noteCreateModal.setNoteName(uniqueName);
await noteCreateModal.clickCreate();

await page.waitForURL(/notebook\//);
expect(page.url()).toContain('notebook/');
});

test('Given Create Note modal is open, When entering note name with folder path, Then note should be created in folder', async ({
page
}) => {
const folderPath = `/TestFolder/SubFolder`;
const noteName = `Note ${Date.now()}`;
const fullPath = `${folderPath}/${noteName}`;

await noteCreateModal.setNoteName(fullPath);
await noteCreateModal.clickCreate();

await page.waitForURL(/notebook\//);
expect(page.url()).toContain('notebook/');
});
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better if we could verify the note name and path.

Comment on lines 105 to 109
const hasError = await noteImportModal.isErrorAlertVisible();
if (hasError) {
const errorMessage = await noteImportModal.getErrorMessage();
expect(errorMessage).toBeTruthy();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any reason for this to be verified conditionally?

@dididydididyforce-pushed thee2e/share branch 2 times, most recently fromb6dbb72 to1a1cd06CompareNovember 20, 2025 08:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tboneleetboneleetbonelee requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@dididy@tbonelee

[8]ページ先頭

©2009-2025 Movatter.jp