mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
feat(tests): TESTS-40 done Delete an issue test (#4233)
Signed-off-by: Alex Velichko <nestor_007@mail.ru>
This commit is contained in:
parent
e7f7751643
commit
5daa8d460c
BIN
tests/sanity-ws/000004/_migrations-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/_migrations-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/_migrations-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/_migrations-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/activity-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/activity-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/activity-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/activity-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/doc-index-state-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/doc-index-state-1703102446838-0.snp.gz
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/sanity-ws/000004/fulltext-blob-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/fulltext-blob-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/fulltext-blob-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/fulltext-blob-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/space-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/space-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/space-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/space-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/status-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/status-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/status-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/status-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/task-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/task-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/task-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/task-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/tx-1703102446838-0.snp.gz
Normal file
BIN
tests/sanity-ws/000004/tx-1703102446838-0.snp.gz
Normal file
Binary file not shown.
BIN
tests/sanity-ws/000004/tx-data-1703102446838-1.tar.gz
Normal file
BIN
tests/sanity-ws/000004/tx-data-1703102446838-1.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -291,4 +291,27 @@ test.describe('Tracker issue tests', () => {
|
||||
const issuesDetailsPage = new IssuesDetailsPage(page)
|
||||
await issuesDetailsPage.checkIssue(newIssue)
|
||||
})
|
||||
|
||||
test('Delete an issue', async ({ page }) => {
|
||||
const deleteIssue: NewIssue = {
|
||||
title: 'Issue for deletion',
|
||||
description: 'Description Issue for deletion'
|
||||
}
|
||||
|
||||
const leftSideMenuPage = new LeftSideMenuPage(page)
|
||||
await leftSideMenuPage.buttonTracker.click()
|
||||
|
||||
const issuesPage = new IssuesPage(page)
|
||||
await issuesPage.modelSelectorAll.click()
|
||||
await issuesPage.searchIssueByName(deleteIssue.title)
|
||||
await issuesPage.openIssueByName(deleteIssue.title)
|
||||
|
||||
const issuesDetailsPage = new IssuesDetailsPage(page)
|
||||
await issuesDetailsPage.waitDetailsOpened(deleteIssue.title)
|
||||
await issuesDetailsPage.moreActionOnIssue('Delete')
|
||||
await issuesDetailsPage.pressYesForPopup(page)
|
||||
|
||||
await issuesPage.searchIssueByName(deleteIssue.title)
|
||||
await issuesPage.checkIssueNotExist(deleteIssue.title)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user