mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add DacFx summary page tests (#11519)
* remove generate script operation * add tests for summary page * add a couple more checks
This commit is contained in:
@@ -74,10 +74,6 @@ describe('Dacfx wizard', function (): void {
|
||||
wizard.model.upgradeExisting = true;
|
||||
should.equal(wizard.isSummaryPage(3), true);
|
||||
|
||||
// summary page should be 3 for generate deploy script
|
||||
wizard.selectedOperation = Operation.generateDeployScript;
|
||||
should.equal(wizard.isSummaryPage(3), true);
|
||||
|
||||
// summary page should be 2 for import
|
||||
wizard.selectedOperation = Operation.import;
|
||||
should.equal(wizard.isSummaryPage(2), true);
|
||||
@@ -95,9 +91,6 @@ describe('Dacfx wizard', function (): void {
|
||||
wizard.setDoneButton(Operation.deploy);
|
||||
should.equal(wizard.selectedOperation, Operation.deploy);
|
||||
|
||||
wizard.setDoneButton(Operation.generateDeployScript);
|
||||
should.equal(wizard.selectedOperation, Operation.generateDeployScript);
|
||||
|
||||
wizard.setDoneButton(Operation.extract);
|
||||
should.equal(wizard.selectedOperation, Operation.extract);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user