Skip to content

Commit

Permalink
update to styles for passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klakhov committed Dec 25, 2024
1 parent add75d1 commit 2bcbfbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ function AllocationTable(props: Readonly<Props>): JSX.Element {
selection.selectedRowKeys.length !== 0 ? (
<>
<DeleteOutlined
className='cvat-allocation-selection-frame-delete'
onClick={() => {
const framesToUpdate = selection.selectedRows
.filter((frameData) => frameData.active)
Expand All @@ -173,6 +174,7 @@ function AllocationTable(props: Readonly<Props>): JSX.Element {
}}
/>
<Icon
className='cvat-allocation-selection-frame-restore'
onClick={() => {
const framesToUpdate = selection.selectedRows
.filter((frameData) => !frameData.active)
Expand Down
4 changes: 2 additions & 2 deletions tests/cypress/e2e/features/ground_truth_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ context('Ground truth jobs', () => {
createAndOpenTask(serverFiles, defaultValidationParams).then(() => {
cy.visit(`/tasks/${taskID}/quality-control#management`);
cy.get('.cvat-quality-control-management-tab').should('exist').and('be.visible');
cy.get('.cvat-annotations-quality-allocation-table-summary').should('exist').and('be.visible');
cy.get('.cvat-quality-control-management-tab-summary').should('exist').and('be.visible');
});
});

Expand All @@ -283,7 +283,7 @@ context('Ground truth jobs', () => {
});

it('Check management page contents.', () => {
cy.get('.cvat-annotations-quality-allocation-table-summary').should('exist');
cy.get('.cvat-quality-control-management-tab-summary').should('exist');
cy.contains('.cvat-allocation-summary-excluded', '0').should('exist');
cy.contains('.cvat-allocation-summary-total', '3').should('exist');
cy.contains('.cvat-allocation-summary-active', '3').should('exist');
Expand Down

0 comments on commit 2bcbfbf

Please sign in to comment.