-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 13427-fix-radio-btns-color-input-space
- Loading branch information
Showing
89 changed files
with
2,190 additions
and
729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...uster/import/cluster-import.generic.po.ts → ...ons/imported/cluster-import-generic.po.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import ClusterManagerImportPagePo from '@/cypress/e2e/po/edit/provisioning.cattle.io.cluster/import/cluster-import.po'; | ||
|
||
/** | ||
* Create page for a generic imported cluster | ||
* Import page for generic cluster | ||
*/ | ||
export default class ClusterManagerImportGenericPagePo extends ClusterManagerImportPagePo { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
import { LoginPagePo } from '@/cypress/e2e/po/pages/login-page.po'; | ||
import HomePagePo from '@/cypress/e2e/po/pages/home.po'; | ||
import AboutPagePo from '@/cypress/e2e/po/pages/about.po'; | ||
import PreferencesPagePo from '@/cypress/e2e/po/pages/preferences.po'; | ||
import UserMenuPo from '@/cypress/e2e/po/side-bars/user-menu.po'; | ||
import AccountPagePo from '@/cypress/e2e/po/pages/account-api-keys.po'; | ||
import CreateKeyPagePo from '@/cypress/e2e/po/pages/account-api-keys-create_key.po'; | ||
|
||
describe('Shell a11y testing', { tags: ['@adminUser', '@accessibility'] }, () => { | ||
it('login page', () => { | ||
const loginPage = new LoginPagePo(); | ||
|
||
loginPage.goTo(); | ||
loginPage.waitForPage(); | ||
cy.injectAxe(); | ||
loginPage.username().set('test user'); | ||
|
||
cy.checkPageAccessibility(); | ||
}); | ||
|
||
it('locale selector', () => { | ||
const loginPage = new LoginPagePo(); | ||
|
||
loginPage.goTo(); | ||
loginPage.waitForPage(); | ||
cy.injectAxe(); | ||
cy.get('[data-testid="locale-selector"]').click(); | ||
cy.checkPageAccessibility(); | ||
}); | ||
|
||
describe('Logged in', { testIsolation: 'off' }, () => { | ||
const aboutPage = new AboutPagePo(); | ||
const prefPage = new PreferencesPagePo(); | ||
const userMenu = new UserMenuPo(); | ||
|
||
before(() => { | ||
cy.login(); | ||
}); | ||
|
||
it('home page', () => { | ||
HomePagePo.goToAndWaitForGet(); | ||
cy.injectAxe(); | ||
|
||
cy.checkPageAccessibility(); | ||
}); | ||
|
||
it('about page', () => { | ||
AboutPagePo.navTo(); | ||
aboutPage.waitForPage(); | ||
|
||
cy.checkPageAccessibility(); | ||
}); | ||
|
||
it('preferences page', () => { | ||
userMenu.clickMenuItem('Preferences'); | ||
userMenu.isClosed(); | ||
prefPage.waitForPage(); | ||
prefPage.checkIsCurrentPage(); | ||
prefPage.title(); | ||
cy.injectAxe(); | ||
|
||
cy.checkPageAccessibility(); | ||
}); | ||
|
||
describe('account', () => { | ||
const accountPage = new AccountPagePo(); | ||
const createKeyPage = new CreateKeyPagePo(); | ||
|
||
it('account page', () => { | ||
userMenu.clickMenuItem('Account & API Keys'); | ||
accountPage.waitForPage(); | ||
cy.injectAxe(); | ||
accountPage.checkIsCurrentPage(); | ||
|
||
cy.checkPageAccessibility(); | ||
}); | ||
|
||
it('change password dialog', () => { | ||
accountPage.changePassword(); | ||
|
||
cy.checkElementAccessibility('.change-password-modal'); | ||
|
||
accountPage.cancel(); | ||
}); | ||
|
||
it('create API key', () => { | ||
accountPage.create(); | ||
createKeyPage.waitForPage(); | ||
createKeyPage.isCurrentPage(); | ||
|
||
cy.checkPageAccessibility(); | ||
}); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.