Skip to content

Commit b44b7a6

Browse files
authored
Merge pull request #4069 from tdonohue/fix_e2e_tests
Minor fixes to Cypress e2e tests
2 parents 4b921a6 + 308f075 commit b44b7a6

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

cypress/e2e/admin-sidebar.cy.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { testA11y } from 'cypress/support/utils';
2-
import { Options } from 'cypress-axe';
32

43
describe('Admin Sidebar', () => {
54
beforeEach(() => {
@@ -16,13 +15,6 @@ describe('Admin Sidebar', () => {
1615
cy.get('ds-expandable-admin-sidebar-section').click({ multiple: true });
1716

1817
// Analyze <ds-admin-sidebar> for accessibility
19-
testA11y('ds-admin-sidebar',
20-
{
21-
rules: {
22-
// Currently all expandable sections have nested interactive elements
23-
// See https://github.com/DSpace/dspace-angular/issues/2178
24-
'nested-interactive': { enabled: false },
25-
},
26-
} as Options);
18+
testA11y('ds-admin-sidebar');
2719
});
2820
});

cypress/tsconfig.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"extends": "../tsconfig.json",
33
"include": [
4-
"**/*.ts"
4+
"**/*.ts",
5+
"../cypress.config.ts"
56
],
67
"compilerOptions": {
78
"sourceMap": false,
9+
"typeRoots": [
10+
"../node_modules",
11+
"../node_modules/@types",
12+
"../src/typings.d.ts"
13+
],
814
"types": [
915
"cypress",
1016
"cypress-axe",

0 commit comments

Comments
 (0)