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

Commit

Permalink
Fix e2e #2
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-cox committed Aug 29, 2017
1 parent 9254d7f commit 69805c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
endpointsPage.credentialsFormEndpointConnect().then(function () {
helpers.checkAndCloseToast(/Successfully connected to '(?:cf)'/);
var endpointsTable = endpointsPage.getEndpointTable();
expect(helpers.getTableCellAt(endpointsTable, cfRowIndex, 4).getText()).toBe('DISCONNECT');
expect(helpers.getTableCellAt(endpointsTable, cfRowIndex, 5).getText()).toBe('DISCONNECT');
expect(endpointsPage.endpointIsConnected(cfRowIndex)).toBeTruthy();
});
});
Expand Down Expand Up @@ -574,7 +574,7 @@
.then(function () {
helpers.checkAndCloseToast(/Successfully disconnected endpoint '(?:cf)'/);
var endpointsTable = endpointsPage.getEndpointTable();
expect(helpers.getTableCellAt(endpointsTable, cfRowIndex, 4).getText()).toBe('CONNECT');
expect(helpers.getTableCellAt(endpointsTable, cfRowIndex, 5).getText()).toBe('CONNECT');
});
});

Expand Down

0 comments on commit 69805c3

Please sign in to comment.