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:
Kim Santiago
2020-07-31 10:18:21 -07:00
committed by GitHub
parent 89753577ab
commit 9c1168ba3b
5 changed files with 116 additions and 40 deletions

View File

@@ -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);