A11y/Dashboard: Fix various fastpass issues for dashboard settings (#40335)

* A11y/Dashboard: Fix various fastpass issue for dashboard settings
See #39429
This commit is contained in:
kay delaney
2021-10-18 13:51:26 +01:00
committed by GitHub
parent f7cbb298f7
commit db62ce477d
8 changed files with 27 additions and 11 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ e2e.scenario({
e2e.components.FolderPicker.container()
.should('be.visible')
.within(() => {
e2e.components.Select.input().should('be.visible').click();
e2e().get('#dashboard-folder-input').should('be.visible').click();
});
e2e.components.Select.option().should('be.visible').first().click();
@@ -21,7 +21,7 @@ e2e.scenario({
e2e.components.FolderPicker.container()
.should('be.visible')
.within(() => {
e2e.components.Select.input().should('exist').should('have.focus');
e2e().get('#dashboard-folder-input').should('exist').should('have.focus');
});
e2e.pages.Dashboard.Settings.General.title().click();
@@ -29,7 +29,7 @@ e2e.scenario({
e2e.components.FolderPicker.container()
.should('be.visible')
.within(() => {
e2e.components.Select.input().should('exist').should('not.have.focus');
e2e().get('#dashboard-folder-input').should('exist').should('not.have.focus');
});
},
});