mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Minor test cleanup. Ensure artifacts are available based on e2e search results
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
describe('PageNotFound', () => {
|
||||
it('should contain element ds-pagenotfound when navigating to page that doesnt exist', () => {
|
||||
cy.visit('/e9019a69-d4f1-4773-b6a3-bd362caa46f2');
|
||||
// request an invalid page (UUIDs at root path aren't valid)
|
||||
cy.visit('/e9019a69-d4f1-4773-b6a3-bd362caa46f2', { failOnStatusCode: false });
|
||||
cy.get('ds-pagenotfound').should('exist');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user