mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge pull request #4069 from tdonohue/fix_e2e_tests
Minor fixes to Cypress e2e tests
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import { testA11y } from 'cypress/support/utils';
|
import { testA11y } from 'cypress/support/utils';
|
||||||
import { Options } from 'cypress-axe';
|
|
||||||
|
|
||||||
describe('Admin Sidebar', () => {
|
describe('Admin Sidebar', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
@@ -16,13 +15,6 @@ describe('Admin Sidebar', () => {
|
|||||||
cy.get('ds-expandable-admin-sidebar-section').click({ multiple: true });
|
cy.get('ds-expandable-admin-sidebar-section').click({ multiple: true });
|
||||||
|
|
||||||
// Analyze <ds-admin-sidebar> for accessibility
|
// Analyze <ds-admin-sidebar> for accessibility
|
||||||
testA11y('ds-admin-sidebar',
|
testA11y('ds-admin-sidebar');
|
||||||
{
|
|
||||||
rules: {
|
|
||||||
// Currently all expandable sections have nested interactive elements
|
|
||||||
// See https://github.com/DSpace/dspace-angular/issues/2178
|
|
||||||
'nested-interactive': { enabled: false },
|
|
||||||
},
|
|
||||||
} as Options);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -1,10 +1,16 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.json",
|
"extends": "../tsconfig.json",
|
||||||
"include": [
|
"include": [
|
||||||
"**/*.ts"
|
"**/*.ts",
|
||||||
|
"../cypress.config.ts"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
|
"typeRoots": [
|
||||||
|
"../node_modules",
|
||||||
|
"../node_modules/@types",
|
||||||
|
"../src/typings.d.ts"
|
||||||
|
],
|
||||||
"types": [
|
"types": [
|
||||||
"cypress",
|
"cypress",
|
||||||
"cypress-axe",
|
"cypress-axe",
|
||||||
|
Reference in New Issue
Block a user