mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 16:26:00 +00:00
SYNC: test fix WIP
This commit is contained in:
committed by
Diflow
parent
5278861ccd
commit
72b766f32a
@@ -468,15 +468,24 @@ describe('Data browser data', () => {
|
|||||||
cy.themeshot('database-model-table-yaml');
|
cy.themeshot('database-model-table-yaml');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Data replicator', () => {
|
it.only('Data replicator', () => {
|
||||||
cy.contains('MySql-connection').click();
|
cy.contains('MySql-connection').click();
|
||||||
cy.contains('MyChinook').click();
|
cy.contains('MyChinook').click();
|
||||||
cy.testid('WidgetIconPanel_archive').click();
|
cy.testid('WidgetIconPanel_archive').click();
|
||||||
cy.contains('chinook-archive').rightclick();
|
cy.contains('chinook-archive').rightclick();
|
||||||
cy.contains('Data replicator').click();
|
cy.contains('Data deployer').click();
|
||||||
cy.contains('Dry run').click();
|
cy.contains('Dry run').click();
|
||||||
cy.testid('DataReplicatorTab_importIntoDb').click();
|
cy.testid('TableControl_selectAllCheckBox').click();
|
||||||
cy.contains('Replicated Album, inserted 347 rows, mapped 0 rows, missing 0 rows, skipped 0 rows');
|
cy.testid('TableControl_row_2').click();
|
||||||
|
cy.testid('DataDeploySettings_find_checkbox').click();
|
||||||
|
cy.testid('DataDeploySettings_create_checkbox').click();
|
||||||
|
cy.testid('WidgetIconPanel_archive').click();
|
||||||
|
cy.themeshot('data-deployer');
|
||||||
|
cy.testid('DataDeployTab_importIntoDb').click();
|
||||||
|
cy.testid('ConfirmDataDeployModal_okButton').click();
|
||||||
|
cy.contains('Replicated Customer, inserted 59 rows, mapped 0 rows, missing 0 rows, skipped 0 rows, updated 0 rows, deleted 0 rows');
|
||||||
|
cy.contains('Finished job script');
|
||||||
|
cy.testid('DataDeployTab_importIntoDb').click();
|
||||||
cy.themeshot('data-replicator');
|
cy.themeshot('data-replicator');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -192,6 +192,7 @@
|
|||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
checked={checkableFlatRowsShown.every(r => checkedKeys.includes(extractTableItemKey(r)))}
|
checked={checkableFlatRowsShown.every(r => checkedKeys.includes(extractTableItemKey(r)))}
|
||||||
|
data-testid="TableControl_selectAllCheckBox"
|
||||||
on:change={e => {
|
on:change={e => {
|
||||||
if (e.target['checked']) onSetCheckedKeys(checkableFlatRowsShown.map(r => extractTableItemKey(r)));
|
if (e.target['checked']) onSetCheckedKeys(checkableFlatRowsShown.map(r => extractTableItemKey(r)));
|
||||||
else onSetCheckedKeys([]);
|
else onSetCheckedKeys([]);
|
||||||
@@ -286,6 +287,7 @@
|
|||||||
dispatch('clickrow', row);
|
dispatch('clickrow', row);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
data-testid={`TableControl_row_${index}`}
|
||||||
>
|
>
|
||||||
{#if checkedKeys}
|
{#if checkedKeys}
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user