mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 14:26:00 +00:00
Merge branch 'master' of github.com:dbgate/dbgate
This commit is contained in:
@@ -454,4 +454,16 @@ describe('Data browser data', () => {
|
|||||||
cy.contains('autoIncrement');
|
cy.contains('autoIncrement');
|
||||||
cy.themeshot('tableyaml');
|
cy.themeshot('tableyaml');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('Data duplicator', () => {
|
||||||
|
cy.contains('MySql-connection').click();
|
||||||
|
cy.contains('MyChinook').click();
|
||||||
|
cy.testid('WidgetIconPanel_archive').click();
|
||||||
|
cy.contains('chinook-archive').rightclick();
|
||||||
|
cy.contains('Data duplicator').click();
|
||||||
|
cy.contains('Dry run').click();
|
||||||
|
cy.testid("DataDuplicatorTab_importIntoDb").click();
|
||||||
|
cy.contains('Duplicated Album, inserted 347 rows, mapped 0 rows, missing 0 rows, skipped 0 rows');
|
||||||
|
cy.themeshot('dataduplicator');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -195,6 +195,11 @@ async function run() {
|
|||||||
path.join(baseDir, 'archive-e2etests', 'default')
|
path.join(baseDir, 'archive-e2etests', 'default')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
await copyFolder(
|
||||||
|
path.resolve(path.join(__dirname, '../data/chinook-jsonl')),
|
||||||
|
path.join(baseDir, 'archive-e2etests', 'chinook-archive')
|
||||||
|
);
|
||||||
|
|
||||||
await copyFolder(
|
await copyFolder(
|
||||||
path.resolve(path.join(__dirname, '../data/files/query')),
|
path.resolve(path.join(__dirname, '../data/files/query')),
|
||||||
path.join(baseDir, 'files-e2etests', 'query')
|
path.join(baseDir, 'files-e2etests', 'query')
|
||||||
|
|||||||
@@ -441,9 +441,9 @@
|
|||||||
</VerticalSplitter>
|
</VerticalSplitter>
|
||||||
|
|
||||||
<svelte:fragment slot="toolstrip">
|
<svelte:fragment slot="toolstrip">
|
||||||
<ToolStripCommandButton command="dataDuplicator.run" />
|
<ToolStripCommandButton command="dataDuplicator.run" data-testid="DataDuplicatorTab_importIntoDb" />
|
||||||
<ToolStripCommandButton command="dataDuplicator.kill" />
|
<ToolStripCommandButton command="dataDuplicator.kill" data-testid="DataDuplicatorTab_kill" />
|
||||||
<ToolStripCommandButton command="dataDuplicator.generateScript" />
|
<ToolStripCommandButton command="dataDuplicator.generateScript" data-testid="DataDuplicatorTab_generateScript" />
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
</ToolStripContainer>
|
</ToolStripContainer>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user