Skip to content

Commit 02a3602

Browse files
committed
Fixed test name issue and clean up of empty-0.0.0.tar.gz
1 parent b39f390 commit 02a3602

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

client/test/e2e/tracing/pm-host-error-view.short.spec.js renamed to client/test/e2e/tracing/pm-host-error.short.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ describe('tracing-interactions', function () {
1919
});
2020

2121
it('should login and navigate to process manager,' +
22-
'add a valid pm host,', function () {
22+
'validate error notice', function () {
2323
var tracingHomeView =
2424
new TracingViews.TracingHomeView();
2525
var processManagerHomeView =
2626
new ProcessManagerViews.ProcessManagerHomeView();
2727

28+
browser.sleep(500);
29+
2830
tracingHomeView.acceptErrorNotice();
2931

3032
expect(EC.visibilityOf(processManagerHomeView.componentIdentifier));

client/test/e2e/tracing/views/tracing-home-view.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var TracingHomeView = (function () {
99

1010
this.waitUntilLoaded = function() {
1111
browser.driver.wait(
12-
EC.presenceOf(this.componentIdentifier),
12+
EC.visibilityOf(this.componentIdentifier),
1313
10000);
1414
};
1515

@@ -19,8 +19,8 @@ var TracingHomeView = (function () {
1919
browser.driver.wait(
2020
EC.elementToBeClickable(
2121
self.dismissErrorButton
22-
)
23-
);
22+
),
23+
10000);
2424

2525
self.dismissErrorButton.click();
2626
};

client/test/empty-0.0.0.tgz

-9.75 MB
Binary file not shown.

gulpfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ function testE2E (callback, testSuite) {
264264
protractorResults(err);
265265

266266
fs.unlink(path.join(__dirname, 'client/test/sandbox/arc-manager.json'));
267+
fs.unlink(path.join(__dirname, 'client/test/empty-0.0.0.tgz'));
267268
});
268269
}
269270

0 commit comments

Comments
 (0)