Changeset View
Changeset View
Standalone View
Standalone View
cypress/integration/vault.spec.js
Show First 20 Lines • Show All 393 Lines • ▼ Show 20 Lines | it('should create a directory cooking task from the release view', function() { | ||||
cy.wait('@createVaultCookingTask'); | cy.wait('@createVaultCookingTask'); | ||||
// Check success alert is displayed | // Check success alert is displayed | ||||
cy.get('.alert-success') | cy.get('.alert-success') | ||||
.should('be.visible') | .should('be.visible') | ||||
.should('contain', 'Archive cooking request successfully submitted.'); | .should('contain', 'Archive cooking request successfully submitted.'); | ||||
}); | }); | ||||
it('should offer to recook an archive if no more available to download', function() { | it('should offer to recook an archive if no longer available for download', function() { | ||||
ardumont: This one sounds better to me ^
what do you think? | |||||
Done Inline Actionsequivalent imo vlorentz: equivalent imo | |||||
updateVaultItemList(this.vaultItems); | updateVaultItemList(this.vaultItems); | ||||
// Send 404 when fetching vault item | // Send 404 when fetching vault item | ||||
cy.intercept({url: this.vaultFetchRevisionUrl}, { | cy.intercept({url: this.vaultFetchRevisionUrl}, { | ||||
statusCode: 404, | statusCode: 404, | ||||
body: { | body: { | ||||
'exception': 'NotFoundExc', | 'exception': 'NotFoundExc', | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |
This one sounds better to me ^
what do you think?