Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
More debug for Application Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Oct 29, 2020
1 parent 40867b3 commit 008e91e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test-e2e/application/application-deploy-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,16 @@ export function createApplicationDeployTests(type = CREATE_APP_DEPLOY_TEST_TYPE.

it('Should pass Source step', () => {
e2e.debugLog(`${loggingPrefix} Source Step`);
deployApp.stepper.waitUntilShown();
deployApp.stepper.waitForStepNotBusy();
deployApp.stepper.getActiveStepName().then(activeStep => {
console.warn(`Should pass Source step: activeStep: ${activeStep}`);
expect(activeStep).toBe('Source');
});
// expect(deployApp.stepper.getActiveStepName()).toBe('Source');
expect(deployApp.stepper.canNext()).toBeFalsy();

browser.waitForAngularEnabled(false);
switch (type) {
case CREATE_APP_DEPLOY_TEST_TYPE.GIT_CLONE:
deployApp.stepper.getStepperForm().fill({ projectname: res.testApp });
Expand All @@ -168,7 +171,7 @@ export function createApplicationDeployTests(type = CREATE_APP_DEPLOY_TEST_TYPE.
deployApp.stepper.getStepperForm().fill({ dockerimg: res.dockerUrl });
break;
}

browser.waitForAngularEnabled(true);

// Press next to get to source config step
deployApp.stepper.waitUntilCanNext('Next').then(x => {
Expand Down

0 comments on commit 008e91e

Please sign in to comment.