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

Test for interpolation issues after deleting keyframes #9031

Merged
merged 38 commits into from
Feb 5, 2025
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c316eae
fix fill listItems array
Jan 22, 2025
6451ebf
remove test code
Jan 22, 2025
ba3eba1
add command to create task from archive
Jan 23, 2025
769c20c
Merge branch 'develop' into ov/test-interpolation-impossible
Jan 23, 2025
84ab5a7
wip dragging
Jan 23, 2025
85488cb
wip: rect onto pic
Jan 25, 2025
8e2fa75
Merge branch 'develop' into ov/test-interpolation-impossible
Jan 28, 2025
6c26c70
wip: first case assertion
Jan 28, 2025
91763c5
wip: switching frames
Jan 28, 2025
3cf0727
wip: case 2
Jan 28, 2025
526666a
canvas shape should not be visible
Jan 29, 2025
866210f
Merge branch 'develop' into ov/test-interpolation-impossible
Jan 29, 2025
5d6fc56
revert changes in const.js; this should be in a separate issue
Jan 29, 2025
56b12ba
add .02 precision to object comparison; update test to compare `afte…
Jan 29, 2025
2b0c12a
add headless cmds; move shape creation to before() hook
Jan 30, 2025
430112e
refactor shape translate
Jan 30, 2025
9036e9b
Merge branch 'develop' into ov/test-interpolation-impossible
Jan 30, 2025
ed4a0a9
use tracks for moving frames; add beforeEach to preserve annotations …
Jan 30, 2025
b8edd26
revert laumch.json
Jan 30, 2025
5d3b18a
include PR number #8952 in filename
Jan 30, 2025
9deea5e
Merge branch 'develop' into ov/test-interpolation-impossible
Feb 3, 2025
78e368e
remove trailing comma
Feb 3, 2025
656de9b
remove year
Feb 3, 2025
54654e4
remove first frrame one-liner
Feb 3, 2025
135f338
use existing command to create task
Feb 3, 2025
166f348
remove redundant transformatinons, define track on the fly
Feb 3, 2025
52c2a98
drop extra wait, check frame and save, only print error to console
Feb 3, 2025
2f67c7c
move interception to rcommand, for better encapsulation
Feb 3, 2025
d89a272
use promise to read and validate shape coordinates
Feb 3, 2025
8b1f603
change several frames with one command
Feb 4, 2025
f808a27
Merge branch 'develop' into ov/test-interpolation-impossible
Feb 4, 2025
1d85ff4
remove unused commands
Feb 4, 2025
cc7de87
remove exception catching, this error will be thrown anyway
Feb 4, 2025
cc52a25
use jquery's attr on shapes instead of cy.invoke
Feb 4, 2025
6a16aab
rewrite points to arrays, to better fit format expected from track
Feb 4, 2025
1b2ea23
Merge branch 'develop' into ov/test-interpolation-impossible
Feb 4, 2025
f57d17e
add spaces, return points
Feb 5, 2025
d4ccde0
make intercept more specific
Feb 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add command to create task from archive
  • Loading branch information
Oleg Valiulin committed Jan 23, 2025
commit ba3eba15c1cd8c57a17f067dd154d5aed4239289
22 changes: 22 additions & 0 deletions tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -1706,3 +1706,25 @@ Cypress.Commands.overwrite('reload', (orig, options) => {
orig(options);
cy.closeModalUnsupportedPlatform();
});

Cypress.Commands.add('createTaskFromArchive', (taskName, labelName, archiveName, projectName = null) => {
cy.get('.cvat-create-task-dropdown').click();
cy.get('.cvat-create-task-button').click();
cy.get('[id="name"]').clear();
cy.get('[id="name"]').type(taskName);
if (projectName) {
cy.get('.cvat-project-search-field').first().within(() => {
cy.get('[type="search"]').type(projectName);
});
}
cy.get('.cvat-constructor-viewer-new-item').click();
cy.get('[placeholder="Label name"]').type(labelName);
cy.contains('button', 'Continue').click();
// Archive name is relative to cypress/fixtures
cy.get('input[type="file"]').attachFile(archiveName, { subjectType: 'drag-n-drop' });
cy.contains('button', 'Submit & Continue').click();
cy.get('.cvat-notification-create-task-success').should('exist').within(() => {
cy.get('.anticon-close').click();
});
cy.get('.cvat-notification-create-task-fail').should('not.exist');
});