feat(tools): test file buttons (#44919)
* feat(tools): test file buttons * fix: set SHOW_NEW_CURRICULUM to true * fix: landing test
This commit is contained in:
@ -16,7 +16,8 @@ const certifications = [
|
||||
'Scientific Computing with Python',
|
||||
'Data Analysis with Python',
|
||||
'Information Security',
|
||||
'Machine Learning with Python'
|
||||
'Machine Learning with Python',
|
||||
'Responsive Web Design (Beta)'
|
||||
];
|
||||
|
||||
describe('Landing page', () => {
|
||||
@ -57,7 +58,7 @@ describe('Landing page', () => {
|
||||
});
|
||||
|
||||
it('Has links to all the certifications', function () {
|
||||
cy.get(selectors.certifications).children().its('length').should('eq', 10);
|
||||
cy.get(selectors.certifications).children().its('length').should('eq', 11);
|
||||
cy.wrap(certifications).each(cert => {
|
||||
cy.get(selectors.certifications).contains(cert);
|
||||
});
|
||||
|
Reference in New Issue
Block a user