Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
navigation
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
navigation
Merge requests
!79
Issue
#3391723
: [PP1][PLAN] Accessibility review
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3391723
: [PP1][PLAN] Accessibility review
issue/navigation-3391723:3391723-pp1plan-accessibility-review
into
1.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Open
Issue #3391723: [PP1][PLAN] Accessibility review
Ivan Berdinsky
requested to merge
issue/navigation-3391723:3391723-pp1plan-accessibility-review
into
1.x
Oct 6, 2023
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
1.x
version 1
cd4c9656
Oct 6, 2023
1.x (HEAD)
and
latest version
latest version
2ead6134
1 commit,
Oct 8, 2023
version 1
cd4c9656
1 commit,
Oct 6, 2023
1 file
+
29
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tests/src/Nightwatch/Tests/navigation.js
0 → 100644
+
29
−
0
View file @ 60edcc1d
Edit in single-file editor
Open in Web IDE
const
navigationTest
=
{
'
@tags
'
:
[
'
navigation
'
],
before
(
browser
)
{
browser
.
drupalInstall
({
installProfile
:
'
demo_umami
'
});
// later Navigation should be added to nightwatch_a11y_testing profile
browser
.
drupalInstallModule
(
'
navigation
'
);
},
after
(
browser
)
{
browser
.
drupalUninstall
();
},
};
const
testCases
=
[
{
name
:
'
Claro page
'
,
path
:
'
/user/1/edit
'
},
{
name
:
'
HomePage with Umami
'
,
path
:
'
/
'
},
];
testCases
.
forEach
((
testCase
)
=>
{
navigationTest
[
`Accessibility - Navigation Module -
${
testCase
.
name
}
`
]
=
(
browser
)
=>
{
browser
.
drupalLoginAsAdmin
(()
=>
{
browser
.
drupalRelativeURL
(
testCase
.
path
)
.
axeInject
()
.
axeRun
(
'
body
'
,
testCase
.
options
||
{});
});
};
});
module
.
exports
=
navigationTest
;
Loading