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

feat: add back to origin test case #535

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SamYSF
Copy link
Contributor

@SamYSF SamYSF commented Sep 24, 2024

feat: add back to relate origin test case in history record page.
click this button can back to relate origin test case.
image
If the original test case is deleted, there will be the following prompt:
image

Copy link

sonarcloud bot commented Sep 24, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
15.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@LinuxSuRen LinuxSuRen added enhancement New feature or request ospp 开源之夏 https://summer-ospp.ac.cn/ labels Sep 24, 2024
Copy link
Owner

@LinuxSuRen LinuxSuRen left a comment

Choose a reason for hiding this comment

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

Please feel free to post a screenshot of the new changes on page.

@LinuxSuRen
Copy link
Owner

image

@@ -606,6 +606,8 @@ const goToHistory = async (formEl) => {
})
}

function goToOriginTestcase(){ emit('toOriginTestcase', { originSuite: props.suite, originCase: props.name, panelName: 'testing' })}
Copy link
Owner

Choose a reason for hiding this comment

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

IMO, props.suite is the history test suite name instead of the original one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ospp 开源之夏 https://summer-ospp.ac.cn/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants