Minor test cleanup. Ensure artifacts are available based on e2e search results

This commit is contained in:
Tim Donohue
2021-08-27 10:07:07 -05:00
parent fbfd4a2769
commit 3c3f2251bb
5 changed files with 38 additions and 28 deletions

View File

@@ -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');
});